23 #if SDL_VIDEO_DRIVER_UIKIT
25 #include "../../events/SDL_events_c.h"
30 #import <Foundation/Foundation.h>
32 static BOOL UIKit_EventPumpEnabled = YES;
37 UIKit_EventPumpEnabled =
enabled;
43 if (!UIKit_EventPumpEnabled)
52 const CFTimeInterval seconds = 0.000002;
57 result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, seconds,
TRUE);
58 }
while (result == kCFRunLoopRunHandledSource);
62 result = CFRunLoopRunInMode((CFStringRef)UITrackingRunLoopMode, seconds,
TRUE);
63 }
while(result == kCFRunLoopRunHandledSource);
void UIKit_PumpEvents(_THIS)
GLenum GLsizei const GLuint GLboolean enabled
typedef BOOL(WINAPI *PFNWGLSETSTEREOEMITTERSTATE3DLPROC)(HDC hDC