Debugging OpenGL code using glGetError has always been painful, with OpenGL 4.3 the debugging oriented extension KHR_debug was added as a new core feature to simplify this task. While most driver vendors support this extension now even on older GL implementations, it’s again Apple who lacks behind. Even the next version of OS X 10.9, Mavericks, will not get anything newer than OpenGL 4.1. To stop being dependent on glGetError and being able to debug with KHR_debug even on those systems without native support for this extension, a solution was presented in form of a free userspace implementation of KHR_debug. It’s written in pure C and builds on top of glLoadGen and thus can be used with any OpenGL version and on all major operating systems.
Sep 04, 2013 | Category: Developers •