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

@@ -314,6 +314,7 @@ draw(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;
}