src/SDL.c
changeset 5221 2ee8112bfc6b
parent 5189 6f6a9340fb93
child 5257 956d42855c92
     1.1 --- a/src/SDL.c	Mon Feb 07 10:40:21 2011 -0800
     1.2 +++ b/src/SDL.c	Mon Feb 07 16:45:40 2011 -0800
     1.3 @@ -215,22 +215,12 @@
     1.4  SDL_Quit(void)
     1.5  {
     1.6      /* Quit all subsystems */
     1.7 -#ifdef DEBUG_BUILD
     1.8 -    printf("[SDL_Quit] : Enter! Calling QuitSubSystem()\n");
     1.9 -    fflush(stdout);
    1.10 -#endif
    1.11 -
    1.12  #if defined(__WIN32__)
    1.13      SDL_HelperWindowDestroy();
    1.14  #endif
    1.15      SDL_QuitSubSystem(SDL_INIT_EVERYTHING);
    1.16  
    1.17  #ifdef CHECK_LEAKS
    1.18 -#ifdef DEBUG_BUILD
    1.19 -    printf("[SDL_Quit] : CHECK_LEAKS\n");
    1.20 -    fflush(stdout);
    1.21 -#endif
    1.22 -
    1.23      /* !!! FIXME: make this an assertion. */
    1.24      /* Print the number of surfaces not freed */
    1.25      if (surfaces_allocated != 0) {
    1.26 @@ -238,22 +228,13 @@
    1.27                  surfaces_allocated);
    1.28      }
    1.29  #endif
    1.30 -#ifdef DEBUG_BUILD
    1.31 -    printf("[SDL_Quit] : SDL_UninstallParachute()\n");
    1.32 -    fflush(stdout);
    1.33 -#endif
    1.34  
    1.35      /* Uninstall any parachute signal handlers */
    1.36      SDL_UninstallParachute();
    1.37  
    1.38      SDL_ClearHints();
    1.39      SDL_AssertionsQuit();
    1.40 -
    1.41 -#ifdef DEBUG_BUILD
    1.42 -    printf("[SDL_Quit] : Returning!\n");
    1.43 -    fflush(stdout);
    1.44 -#endif
    1.45 -
    1.46 +    SDL_LogResetPriorities();
    1.47  }
    1.48  
    1.49  /* Get the library version number */