moving on
[eradicate] / src / sdl / main.c
index 80fab1a..b672ee6 100644 (file)
@@ -99,7 +99,7 @@ void blit_frame(void *pixels, int vsync)
        int i, j;
        unsigned short *sptr, *dptr;
 
-       dbg_fps(pixels);
+       if(show_fps) dbg_fps(pixels);
 
        if(vsync) {
                wait_vsync();