Trait GLError
rust_gl::context
pub trait GLError { type Error; fn error(&self) -> Result<(), Self::Error>; }
type Error
fn error(&self) -> Result<(), Self::Error>
impl GLError for GL
fn error(&self) -> Result<(), Error>
Retrive the current opengl error, if there is no error Ok(()) is returned.
type Error = Error