fps counter with rle sprites
[eradicate] / src / sdl / main.c
index 86e5198..cfd9761 100644 (file)
@@ -103,6 +103,8 @@ void blit_frame(void *pixels, int vsync)
                wait_vsync();
        }
 
+       dbg_fps(pixels);
+
        if(SDL_MUSTLOCK(fbsurf)) {
                SDL_LockSurface(fbsurf);
        }