demos: add some fflushes for windows

This commit is contained in:
Keith Whitwell
2009-02-24 12:02:24 +00:00
parent b1ac00dc8d
commit e6479c6250
11 changed files with 11 additions and 0 deletions

View File

@@ -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;
}