log-gl-error ( function -- )


Vocabulary
opengl.annotations

Inputs
functiona word


Outputs
None

Word description
If the most recent OpenGL call resulted in an error, append it to the gl-error-log.

Notes
Don't call this function directly. Call log-gl-errors to annotate every OpenGL function to automatically log errors.

See also
throw-gl-errors, gl-error, log-gl-errors, clear-gl-error-log, reset-gl-functions

Definition