From e6479c62504ec828e25cd6b46f8999f3a26a482c Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 24 Feb 2009 12:02:24 +0000 Subject: demos: add some fflushes for windows --- progs/demos/arbfslight.c | 1 + 1 file changed, 1 insertion(+) (limited to 'progs/demos/arbfslight.c') diff --git a/progs/demos/arbfslight.c b/progs/demos/arbfslight.c index a84491d34f..275c85105e 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; } -- cgit v1.2.3