summaryrefslogtreecommitdiffstats
path: root/progs/demos/gearbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/gearbox.c')
-rw-r--r--progs/demos/gearbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/gearbox.c b/progs/demos/gearbox.c
index 35bde04417b..2dcf32f92ff 100644
--- a/progs/demos/gearbox.c
+++ b/progs/demos/gearbox.c
@@ -314,6 +314,7 @@ draw(void)
GLfloat seconds = (t - T0) / 1000.0;
GLfloat fps = Frames / seconds;
printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
+ fflush(stdout);
T0 = t;
Frames = 0;
}