Qt: Fix doneCurrent location
Vicki Pfau vi@endrift.com
Wed, 22 May 2019 20:38:01 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/DisplayGL.cpp
→
src/platform/qt/DisplayGL.cpp
@@ -264,8 +264,8 @@ PainterGL* painter = static_cast<PainterGL*>(v->user);
if (!painter->m_gl->isValid()) { return; } - painter->m_gl->doneCurrent(); painter->m_gl->swapBuffers(painter->m_surface); + painter->m_gl->doneCurrent(); painter->m_gl->makeCurrent(painter->m_surface); #if defined(_WIN32) && defined(USE_EPOXY) epoxy_handle_external_wglMakeCurrent();