summaryrefslogtreecommitdiffstats
path: root/progs/demos/arbfslight.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/arbfslight.c')
-rw-r--r--progs/demos/arbfslight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/arbfslight.c b/progs/demos/arbfslight.c
index a84491d34fe..275c85105ed 100644
--- a/progs/demos/arbfslight.c
+++ b/progs/demos/arbfslight.c
@@ -105,6 +105,7 @@ static void Redisplay (void)
GLfloat seconds = (GLfloat) (t - t0) / 1000.0f;
GLfloat fps = frames / seconds;
printf ("%d frames in %6.3f seconds = %6.3f FPS\n", frames, seconds, fps);
+ fflush(stdout);
t0 = t;
frames = 0;
}