reset-gl-functions ( -- ) - Factor Documentation (original) (raw)

reset-gl-functions ( -- )
OpenGL error reporting

Prev: clear-gl-error-log ( -- )

Vocabulary
opengl.annotations

Word description
Removes any annotations from all OpenGL functions, such as those applied by throw-gl-errors or log-gl-errors.

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

Definition

USING: compiler.units sequences tools.annotations.private ;

IN: opengl.annotations

: reset-gl-functions ( -- )
[ gl-functions [ (reset) ] each ] with-compilation-unit ;