summaryrefslogtreecommitdiff
path: root/progs/demos/gloss.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/gloss.c')
-rw-r--r--progs/demos/gloss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c
index b2126e3267..69694b23a0 100644
--- a/progs/demos/gloss.c
+++ b/progs/demos/gloss.c
@@ -132,6 +132,7 @@ static void Display( void )
GLfloat seconds = (t - T0) / 1000.0;
GLfloat fps = Frames / seconds;
printf("%d frames in %g seconds = %g FPS\n", Frames, seconds, fps);
+ fflush(stdout);
T0 = t;
Frames = 0;
}