Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/SDL.c Thu Jan 27 20:51:54 2011 -0800 +++ b/src/SDL.c Thu Jan 27 22:44:08 2011 -0800 @@ -59,7 +59,7 @@ #if !SDL_VIDEO_DISABLED /* Initialize the video/event subsystem */ if ((flags & SDL_INIT_VIDEO) && !(SDL_initialized & SDL_INIT_VIDEO)) { - if (SDL_VideoInit(NULL, (flags & SDL_INIT_EVENTTHREAD)) < 0) { + if (SDL_VideoInit(NULL) < 0) { return (-1); } SDL_initialized |= SDL_INIT_VIDEO;