foo
[eradicate] / src / sdl / main.c
index cfd9761..57cc7f2 100644 (file)
@@ -99,12 +99,12 @@ void blit_frame(void *pixels, int vsync)
        int i, j;
        unsigned short *sptr, *dptr;
 
+       dbg_fps(pixels);
+
        if(vsync) {
                wait_vsync();
        }
 
-       dbg_fps(pixels);
-
        if(SDL_MUSTLOCK(fbsurf)) {
                SDL_LockSurface(fbsurf);
        }