Kaydet (Commit) 1fd7994a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix dbgutil build in case GL_DEBUG_SEVERITY_NOTIFICATION_ARB is undefined

Change-Id: I14628e9dee8651e87b4782057c4681fded5e4643
üst d12dcbcb
......@@ -1044,8 +1044,10 @@ void OpenGLContext::InitGLEWDebugging()
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB);
glDebugMessageCallbackARB(&debug_callback, nullptr);
#ifdef GL_DEBUG_SEVERITY_NOTIFICATION_ARB
// Ignore i965’s shader compiler notification flood.
glDebugMessageControlARB(GL_DEBUG_SOURCE_SHADER_COMPILER_ARB, GL_DEBUG_TYPE_OTHER_ARB, GL_DEBUG_SEVERITY_NOTIFICATION_ARB, 0, nullptr, true);
#endif
}
else if ( glDebugMessageCallback )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment