src/SDL.c
changeset 7139 dd722e7460c5
parent 7110 2a98852fd58d
child 7191 75360622e65f
     1.1 --- a/src/SDL.c	Thu May 02 21:23:38 2013 -0400
     1.2 +++ b/src/SDL.c	Thu May 02 21:40:59 2013 -0400
     1.3 @@ -32,9 +32,9 @@
     1.4  
     1.5  /* Initialization/Cleanup routines */
     1.6  #if !SDL_TIMERS_DISABLED
     1.7 -extern void SDL_StartTicks(void);
     1.8  extern int SDL_TimerInit(void);
     1.9  extern void SDL_TimerQuit(void);
    1.10 +extern void SDL_InitTicks(void);
    1.11  #endif
    1.12  #if SDL_VIDEO_DRIVER_WINDOWS
    1.13  extern int SDL_HelperWindowCreate(void);
    1.14 @@ -43,7 +43,6 @@
    1.15  
    1.16  
    1.17  /* The initialized subsystems */
    1.18 -static Uint32 ticks_started = 0;
    1.19  static SDL_bool SDL_bInMainQuit = SDL_FALSE;
    1.20  static Uint8 SDL_SubsystemRefCount[ 32 ];
    1.21  
    1.22 @@ -93,10 +92,7 @@
    1.23  SDL_InitSubSystem(Uint32 flags)
    1.24  {
    1.25  #if !SDL_TIMERS_DISABLED
    1.26 -    if (!ticks_started) {
    1.27 -        SDL_StartTicks();
    1.28 -        ticks_started = 1;
    1.29 -    }
    1.30 +    SDL_InitTicks();
    1.31  #endif
    1.32  
    1.33      /* Initialize the timer subsystem */