Handbook
Glossary
throw-gl-errors ( -- )
OpenGL error reporting
Next:
log-gl-errors ( -- )
Vocabulary
opengl
.
annotations
Word description
Annotate every OpenGL function to throw a
gl-error
if the function results in an error. Use
reset-gl-functions
to reverse this operation.
See also
gl-error
,
log-gl-errors
,
log-gl-error
,
clear-gl-error-log
,
reset-gl-functions
Definition
USING:
kernel
opengl
;
IN:
opengl.annotations
:
throw-gl-errors
( -- )
[
[
(gl-error)
]
curry
compose
]
annotate-gl-functions
;