src/video/SDL_video.c
changeset 7360 b86947ea2749
parent 7269 f7a0cc4bf74d
child 7390 e4b98404baa4
     1.1 --- a/src/video/SDL_video.c	Sat Jul 06 11:56:04 2013 -0700
     1.2 +++ b/src/video/SDL_video.c	Sat Jul 06 12:28:57 2013 -0700
     1.3 @@ -422,11 +422,10 @@
     1.4  #endif
     1.5  
     1.6      /* Start the event loop */
     1.7 -    if (SDL_StartEventLoop() < 0 ||
     1.8 +    if (SDL_InitSubSystem(SDL_INIT_EVENTS) < 0 ||
     1.9          SDL_KeyboardInit() < 0 ||
    1.10          SDL_MouseInit() < 0 ||
    1.11 -        SDL_TouchInit() < 0 ||
    1.12 -        SDL_QuitInit() < 0) {
    1.13 +        SDL_TouchInit() < 0) {
    1.14          return -1;
    1.15      }
    1.16  
    1.17 @@ -2233,10 +2232,10 @@
    1.18      }
    1.19  
    1.20      /* Halt event processing before doing anything else */
    1.21 -    SDL_QuitQuit();
    1.22 +    SDL_TouchQuit();
    1.23      SDL_MouseQuit();
    1.24      SDL_KeyboardQuit();
    1.25 -    SDL_StopEventLoop();
    1.26 +    SDL_QuitSubSystem(SDL_INIT_EVENTS);
    1.27  
    1.28      SDL_EnableScreenSaver();
    1.29