mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 10:27:40 +00:00
Use dispatch_async for -[NSOpenGLContext update]. Fixes #3680
This commit is contained in:
parent
eeee730833
commit
033c0abb58
1 changed files with 1 additions and 1 deletions
|
@ -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]; });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue