diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-09-01 14:46:32 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-01 14:50:19 +0200 |
commit | aefb3d973c8248b8c60149850f0835e4a8abd85d (patch) | |
tree | 6d85cede9111edf3ce2fef0a10347a963d43abd0 /vcl/source/opengl/OpenGLContext.cxx | |
parent | 00b0ce6756184acbdf1a459e4a602534d7e1f05d (diff) |
windows opengl: Call InitGLEWDebugging() after we have the context.
Change-Id: I1582443cf6799dd73a3909660d524eaacbc2d909
Diffstat (limited to 'vcl/source/opengl/OpenGLContext.cxx')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 2f2d66f4c4c1..d20d6fdcbe53 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -917,7 +917,6 @@ bool OpenGLContext::ImplInit() } wglMakeCurrent(NULL, NULL); - InitGLEWDebugging(); wglDeleteContext(hTempRC); if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC)) @@ -927,6 +926,8 @@ bool OpenGLContext::ImplInit() return false; } + InitGLEWDebugging(); + g_vShareList.push_back(m_aGLWin.hRC); RECT clientRect; |