diff options
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/drawgl.m')
| -rwxr-xr-x | macosx/plugins/DFXVideo/macsrc/drawgl.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/drawgl.m b/macosx/plugins/DFXVideo/macsrc/drawgl.m index fd127469..efccb132 100755 --- a/macosx/plugins/DFXVideo/macsrc/drawgl.m +++ b/macosx/plugins/DFXVideo/macsrc/drawgl.m @@ -114,7 +114,7 @@ unsigned long ulInitDisplay(void) // OPEN GAME WINDOW BuildDispMenu(0); } __block NSWindow *window = nil; - dispatch_sync(dispatch_get_main_queue(), ^{ + RunOnMainThreadSync(^{ PluginWindowController *windowController = [PluginWindowController openGameView]; glView = [windowController openGLView]; |
