diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-02-24 12:02:24 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-02-24 12:14:50 +0000 |
commit | e6479c62504ec828e25cd6b46f8999f3a26a482c (patch) | |
tree | 7579abb310a4e9dce86ca569967cce8eff5b9780 /progs/demos/arbfplight.c | |
parent | b1ac00dc8d283f82a7f74bc435b5131311b2df86 (diff) | |
download | external_mesa3d-e6479c62504ec828e25cd6b46f8999f3a26a482c.zip external_mesa3d-e6479c62504ec828e25cd6b46f8999f3a26a482c.tar.gz external_mesa3d-e6479c62504ec828e25cd6b46f8999f3a26a482c.tar.bz2 |
demos: add some fflushes for windows
Diffstat (limited to 'progs/demos/arbfplight.c')
-rw-r--r-- | progs/demos/arbfplight.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/arbfplight.c b/progs/demos/arbfplight.c index 401bfb4..7b7a12b 100644 --- a/progs/demos/arbfplight.c +++ b/progs/demos/arbfplight.c @@ -92,6 +92,7 @@ static void Redisplay( void ) GLfloat seconds = (t - T0) / 1000.0; GLfloat fps = Frames / seconds; printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps); + fflush(stdout); T0 = t; Frames = 0; } |