3b / cl-opengl

cl-opengl is a set of CFFI bindings to the OpenGL, GLU and GLUT APIs.
http://common-lisp.net/project/cl-opengl/
Other
279 stars 59 forks source link

wrap debug message callback API #91

Open 3b opened 4 years ago

3b commented 4 years ago

write wrappers for glDebugMessageCallback, glDebugMessageControl, glDebugMessageInsert, and glGetDebugMessageLog. also glPushDebugGroup,glPopDebugGroup, and with-debug-group macro

Possibly turn off automatic glGetError calls when debug callbacks are available? It is a 4.3+ feature, so would have to be dependent on context... probably at most just disable automatic glGetError when user specifies a callback?