On macOS call glFinish before changing away from any context

This commit is contained in:
baldurk
2019-02-04 12:06:07 +00:00
parent eccf1add8a
commit deb3f4d92c
+4
View File
@@ -3367,6 +3367,10 @@ void GLReplay::MakeCurrentReplayContext(GLWindowingData *ctx)
if(ctx && ctx != prev)
{
#if ENABLED(RDOC_APPLE)
GL.glFinish();
#endif
m_pDriver->m_Platform.MakeContextCurrent(*ctx);
prev = ctx;
m_pDriver->ActivateContext(*ctx);