Use dispatch_async for -[NSOpenGLContext update]. Fixes #3680

This commit is contained in:
Learath authored and Ryan C. Gordon committed 2021-03-31 10:46:31 -04:00
1 parent eeee730833
commit 033c0abb58
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@
if ([NSThread isMainThread]) {
[super update];
} else {
dispatch_sync(dispatch_get_main_queue(), ^{ [super update]; });
dispatch_async(dispatch_get_main_queue(), ^{ [super update]; });
}
}