summaryrefslogtreecommitdiffstats
path: root/progs/demos/glslnoise.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/glslnoise.c')
-rw-r--r--progs/demos/glslnoise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/glslnoise.c b/progs/demos/glslnoise.c
index 4ee12928164..e972b62673f 100644
--- a/progs/demos/glslnoise.c
+++ b/progs/demos/glslnoise.c
@@ -65,6 +65,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;
}