Commit 3deae92a authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Only call -[NSOpenGLContext update] from the main thread.

parent da1e666f
......@@ -359,8 +359,9 @@ void macdrv_update_opengl_context(macdrv_opengl_context c)
[context clearDrawableLeavingSurfaceOnScreen];
context.view = view;
}
else
else OnMainThread(^{
[context update];
});
[context resetSurfaceIfBackingSizeChanged];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment