diff --git a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c index 808e56fbb..651cd9aa0 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c @@ -432,7 +432,7 @@ TFB_ComputeFPS () if (fps_counter > FPS_PERIOD) { fprintf (stderr, "fps %.2f, effective %.2f\n", - (float)FPS_PERIOD / delta_time, + 1000.0 / delta_time, 1000.0 * RenderedFrames / fps_counter); fps_counter = 0;