aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos/gloss.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-02-24 12:02:24 +0000
committerKeith Whitwell <[email protected]>2009-02-24 12:14:50 +0000
commite6479c62504ec828e25cd6b46f8999f3a26a482c (patch)
tree7579abb310a4e9dce86ca569967cce8eff5b9780 /progs/demos/gloss.c
parentb1ac00dc8d283f82a7f74bc435b5131311b2df86 (diff)
demos: add some fflushes for windows
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 b2126e32678..69694b23a09 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;
}