GL_AMD_debug_output http://www.opengl.org/registry/specs/AMD/debug_output.txt GL_AMD_debug_output GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143 GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 GL_DEBUG_SEVERITY_LOW_AMD 0x9148 GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 void glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void* userParam) void glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled) void glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar* buf) GLuint glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, GLchar* message) typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam)