Kaydet (Commit) 54189d62 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

use correct flag to enable ARB debug version

Change-Id: I933aea4f9cb1ccd58f9a07e7d32ff28077f8bb33
üst b4b1bea8
...@@ -865,7 +865,7 @@ bool OpenGLContext::InitGLEW() ...@@ -865,7 +865,7 @@ bool OpenGLContext::InitGLEW()
{ {
if (glDebugMessageCallbackARB) if (glDebugMessageCallbackARB)
{ {
glEnable(GL_DEBUG_OUTPUT); glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB);
glDebugMessageCallbackARB(&debug_callback, NULL); glDebugMessageCallbackARB(&debug_callback, NULL);
} }
else if ( glDebugMessageCallback ) 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