mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 22:07:34 +02:00
REintroduce the gl context make current and done for Macos...
This commit is contained in:
parent
1b67042091
commit
5d87c4caad
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue