Trait rust_gl::context::GLError[][src]

pub trait GLError {
    type Error;
    fn error(&self) -> Result<(), Self::Error>;
}

Associated Types

Required methods

fn error(&self) -> Result<(), Self::Error>[src]

Implementors

impl GLError for GL[src]

fn error(&self) -> Result<(), Error>[src]

Retrive the current opengl error, if there is no error Ok(()) is returned.

type Error = Error