mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
On macOS call glFinish before changing away from any context
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user