diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-04-04 13:34:24 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-04-04 13:53:26 +0300 |
commit | d226cfacfd66d5c81d37f707b95f318efe32e5ba (patch) | |
tree | 9fc5935f208ba60741dd331a53b9601e7b828bc7 /vcl | |
parent | a29f494326b3ed8eba809131b799b649e88b9b85 (diff) |
tdf#105162: Need to call epoxy_handle_external_wglMakeCurrent()
Somewhere, in time before calling epoxy-wrapper OpenGL functions. This
seems to be a good place. Educated guess based on debugging, turned
out to work.
Change-Id: Id3f1dfb0c5a9dbfb166c47ea81db902af1a4fc08
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/gdiimpl.cxx | 2 |
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; |