Type Definition GL
rust_gl
type GL = WebGl2RenderingContext;
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