summaryrefslogtreecommitdiff
path: root/progs/demos
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-04-28 11:49:55 +0100
committerKeith Whitwell <keithw@vmware.com>2009-04-28 18:15:17 +0100
commitfd402791f909371d8f1c1381f0e16a0f08bd78e6 (patch)
treea3e805e4548102515aad2a5af0d9fd08c3f0652d /progs/demos
parentb91e5f8e197793feac016242140bf489bd16071c (diff)
progs: add fflushes for cygwin
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/dinoshade.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/dinoshade.c b/progs/demos/dinoshade.c
index 451da2ec89..41b19d5a92 100644
--- a/progs/demos/dinoshade.c
+++ b/progs/demos/dinoshade.c
@@ -624,6 +624,7 @@ redraw(void)
glFinish();
end = glutGet(GLUT_ELAPSED_TIME);
printf("Speed %.3g frames/sec (%d ms)\n", 1000.0/(end-start), end-start);
+ fflush(stdout);
}
glutSwapBuffers();
@@ -878,6 +879,7 @@ main(int argc, char **argv)
polygonOffsetVersion = MISSING;
printf("\ndinoshine: Missing polygon offset.\n");
printf(" Expect shadow depth aliasing artifacts.\n\n");
+ fflush(stdout);
}
}