Module: Mesa Branch: master Commit: a86ef37655c25e0e5a7cb0e41ba7b1c2dcdc1a90 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a86ef37655c25e0e5a7cb0e41ba7b1c2dcdc1a90
Author: Keith Whitwell <[email protected]> Date: Fri Apr 24 12:16:29 2009 +0100 shadowtex: fflush stdout for cygwin --- progs/demos/shadowtex.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/progs/demos/shadowtex.c b/progs/demos/shadowtex.c index f10a01e..dc5a4bb 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); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
