src/video/SDL_video.c
changeset 7139 dd722e7460c5
parent 7135 20db445af8c7
child 7178 8e2156e2ff3e
     1.1 --- a/src/video/SDL_video.c	Thu May 02 21:23:38 2013 -0400
     1.2 +++ b/src/video/SDL_video.c	Thu May 02 21:40:59 2013 -0400
     1.3 @@ -29,6 +29,7 @@
     1.4  #include "SDL_pixels_c.h"
     1.5  #include "SDL_rect_c.h"
     1.6  #include "../events/SDL_events_c.h"
     1.7 +#include "../timer/SDL_timer_c.h"
     1.8  
     1.9  #if SDL_VIDEO_OPENGL
    1.10  #include "SDL_opengl.h"
    1.11 @@ -415,6 +416,10 @@
    1.12      if (_this != NULL) {
    1.13          SDL_VideoQuit();
    1.14      }
    1.15 +    
    1.16 +#if !SDL_TIMERS_DISABLED
    1.17 +    SDL_InitTicks();
    1.18 +#endif
    1.19  
    1.20      /* Start the event loop */
    1.21      if (SDL_StartEventLoop() < 0 ||