diff options
Diffstat (limited to 'progs/demos/gears.c')
-rw-r--r-- | progs/demos/gears.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/gears.c b/progs/demos/gears.c index 2a9fefefb53..6016162d6f7 100644 --- a/progs/demos/gears.c +++ b/progs/demos/gears.c @@ -219,6 +219,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; if ((t >= 999.0 * autoexit) && (autoexit)) { |