summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/opengl/win/gdiimpl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 4209e0c41c49..5a5516db63de 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -96,6 +96,8 @@ void WinOpenGLContext::makeCurrent()
clearCurrent();
+ epoxy_handle_external_wglMakeCurrent();
+
if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC))
{
g_bAnyCurrent = false;