src/video/SDL_video.c
changeset 7139 dd722e7460c5
parent 7135 20db445af8c7
child 7178 8e2156e2ff3e
--- a/src/video/SDL_video.c	Thu May 02 21:23:38 2013 -0400
+++ b/src/video/SDL_video.c	Thu May 02 21:40:59 2013 -0400
@@ -29,6 +29,7 @@
 #include "SDL_pixels_c.h"
 #include "SDL_rect_c.h"
 #include "../events/SDL_events_c.h"
+#include "../timer/SDL_timer_c.h"
 
 #if SDL_VIDEO_OPENGL
 #include "SDL_opengl.h"
@@ -415,6 +416,10 @@
     if (_this != NULL) {
         SDL_VideoQuit();
     }
+    
+#if !SDL_TIMERS_DISABLED
+    SDL_InitTicks();
+#endif
 
     /* Start the event loop */
     if (SDL_StartEventLoop() < 0 ||