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/gloss.c | 1 + 1 file changed, 1 insertion(+) (limited to 'progs/demos/gloss.c') 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; } -- cgit v1.2.3