Mercurial > sdl-ios-xcode
comparison src/SDL.c @ 5125:dc0dfdd58f27
Removed completely non-portable event thread hack.
Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Jan 2011 22:44:08 -0800 |
parents | 327f181542f1 |
children | 6f6a9340fb93 |
comparison
equal
deleted
inserted
replaced
5124:0ec550f04bbc | 5125:dc0dfdd58f27 |
---|---|
57 SDL_InitSubSystem(Uint32 flags) | 57 SDL_InitSubSystem(Uint32 flags) |
58 { | 58 { |
59 #if !SDL_VIDEO_DISABLED | 59 #if !SDL_VIDEO_DISABLED |
60 /* Initialize the video/event subsystem */ | 60 /* Initialize the video/event subsystem */ |
61 if ((flags & SDL_INIT_VIDEO) && !(SDL_initialized & SDL_INIT_VIDEO)) { | 61 if ((flags & SDL_INIT_VIDEO) && !(SDL_initialized & SDL_INIT_VIDEO)) { |
62 if (SDL_VideoInit(NULL, (flags & SDL_INIT_EVENTTHREAD)) < 0) { | 62 if (SDL_VideoInit(NULL) < 0) { |
63 return (-1); | 63 return (-1); |
64 } | 64 } |
65 SDL_initialized |= SDL_INIT_VIDEO; | 65 SDL_initialized |= SDL_INIT_VIDEO; |
66 } | 66 } |
67 #else | 67 #else |