GL: fixed GL_DEBUG_* define name.

This commit is contained in:
bkaradzic 2013-04-16 09:24:43 -07:00
parent d3a526a92b
commit 775ae7f61b

View file

@ -2333,7 +2333,7 @@ namespace bgfx
if (s_extension[Extension::ARB_debug_output].m_supported) if (s_extension[Extension::ARB_debug_output].m_supported)
{ {
GL_CHECK(glDebugMessageCallbackARB(debugProcCb, NULL) ); GL_CHECK(glDebugMessageCallbackARB(debugProcCb, NULL) );
GL_CHECK(glDebugMessageControlARB(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM, 0, NULL, GL_TRUE) ); GL_CHECK(glDebugMessageControlARB(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM_ARB, 0, NULL, GL_TRUE) );
} }
#endif // BGFX_CONFIG_RENDERER_OPENGL #endif // BGFX_CONFIG_RENDERER_OPENGL
} }