summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-16 12:33:55 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-16 13:50:33 +0100
commit98a0ff7183c06e12cadba5412d26d203723b137a (patch)
tree6481db270b62846172751b4e2a0ac241569dc91f
parent86bc8fe74fd317943828cfd5b42335a74e0a50e5 (diff)
use correct flag to enable ARB debug version
Change-Id: I933aea4f9cb1ccd58f9a07e7d32ff28077f8bb33
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 15d551a5be93..0659ce5b57e0 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -865,7 +865,7 @@ bool OpenGLContext::InitGLEW()
{
if (glDebugMessageCallbackARB)
{
- glEnable(GL_DEBUG_OUTPUT);
+ glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB);
glDebugMessageCallbackARB(&debug_callback, NULL);
}
else if ( glDebugMessageCallback )