Kaydet (Commit) 2f0a013f authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Andras Timar

windows opengl: Call InitGLEWDebugging() after we have the context.

Change-Id: I1582443cf6799dd73a3909660d524eaacbc2d909
Reviewed-on: https://gerrit.libreoffice.org/18237Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 350923ef
......@@ -998,7 +998,6 @@ bool OpenGLContext::ImplInit()
}
wglMakeCurrent(NULL, NULL);
InitGLEWDebugging();
wglDeleteContext(hTempRC);
if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC))
......@@ -1008,6 +1007,8 @@ bool OpenGLContext::ImplInit()
return false;
}
InitGLEWDebugging();
g_vShareList.push_back(m_aGLWin.hRC);
RECT clientRect;
......
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