Reverted previous commit which breaks game controller input processing.
This commit is contained in:
parent
1019891bb8
commit
372ca0e2ce
1 changed files with 6 additions and 1 deletions
|
@ -56,9 +56,14 @@ UIKit_PumpEvents(_THIS)
|
||||||
/* Pump most event types. */
|
/* Pump most event types. */
|
||||||
SInt32 result;
|
SInt32 result;
|
||||||
do {
|
do {
|
||||||
result = CFRunLoopRunInMode(kCFRunLoopCommonModes, seconds, TRUE);
|
result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, seconds, TRUE);
|
||||||
} while (result == kCFRunLoopRunHandledSource);
|
} while (result == kCFRunLoopRunHandledSource);
|
||||||
|
|
||||||
|
/* Make sure UIScrollView objects scroll properly. */
|
||||||
|
do {
|
||||||
|
result = CFRunLoopRunInMode((CFStringRef)UITrackingRunLoopMode, seconds, TRUE);
|
||||||
|
} while(result == kCFRunLoopRunHandledSource);
|
||||||
|
|
||||||
/* See the comment in the function definition. */
|
/* See the comment in the function definition. */
|
||||||
UIKit_GL_RestoreCurrentContext();
|
UIKit_GL_RestoreCurrentContext();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue