REintroduce the gl context make current and done for Macos...

This commit is contained in:
Sam Gateau 2019-04-25 16:24:00 -07:00
parent 1b67042091
commit 5d87c4caad

View file

@ -178,6 +178,9 @@ public:
continue;
}
#if defined(Q_OS_MAC)
_context->makeCurrent();
#endif
// Execute the frame and present it to the display device.
{
PROFILE_RANGE(render, "PluginPresent")
@ -186,6 +189,9 @@ public:
gl::globalRelease(false);
CHECK_GL_ERROR();
}
#if defined(Q_OS_MAC)
_context->doneCurrent();
#endif
}
_context->doneCurrent();