mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Changed run loop mode to fully support Cocoa objects import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1057 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
d4e7e7724f
commit
bf3da11d26
@ -372,7 +372,7 @@ static AppController *shared = nil;
|
||||
// Minimal event loop
|
||||
while (nil != (event = [NSApp nextEventMatchingMask:NSAnyEventMask
|
||||
untilDate:nil
|
||||
inMode:NSEventTrackingRunLoopMode
|
||||
inMode:NSDefaultRunLoopMode
|
||||
dequeue:YES]))
|
||||
{
|
||||
[NSApp sendEvent:event];
|
||||
|
Loading…
Reference in New Issue
Block a user