summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-04-24 12:16:29 +0100
committerKeith Whitwell <keithw@vmware.com>2009-04-24 12:16:39 +0100
commita86ef37655c25e0e5a7cb0e41ba7b1c2dcdc1a90 (patch)
tree2a5cbcebca17d9b2e1f7f62f387df8c8808e385e
parentf4a286e5f5ac11b2e5266ef39db5d1d1cb5f77ce (diff)
shadowtex: fflush stdout for cygwin
-rw-r--r--progs/demos/shadowtex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/shadowtex.c b/progs/demos/shadowtex.c
index f10a01ec26..dc5a4bbc48 100644
--- a/progs/demos/shadowtex.c
+++ b/progs/demos/shadowtex.c
@@ -788,6 +788,7 @@ Key(unsigned char key, int x, int y)
exit(0);
break;
}
+ fflush(stdout);
glutPostRedisplay();
}
@@ -1014,6 +1015,7 @@ PrintHelp(void)
printf(" <shift> + cursor keys = rotate light source\n");
if (HaveEXTshadowFuncs)
printf(" o = cycle through comparison modes\n");
+ fflush(stdout);
}