mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
Use dispatch_async for -[NSOpenGLContext update]. Fixes #3680
This commit is contained in:
@@ -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]; });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user