diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -71,6 +71,9 @@ int main(int argc, char **argv) { | |||
71 | #if 0 | 71 | #if 0 |
72 | SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1"); /* debugging! */ | 72 | SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "1"); /* debugging! */ |
73 | #endif | 73 | #endif |
74 | #if defined (iPlatformAppleMobile) | ||
75 | SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0"); | ||
76 | #endif | ||
74 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) { | 77 | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) { |
75 | fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError()); | 78 | fprintf(stderr, "[SDL] init failed: %s\n", SDL_GetError()); |
76 | return -1; | 79 | return -1; |