From: Keith Whitwell Date: Fri, 24 Apr 2009 11:16:29 +0000 (+0100) Subject: shadowtex: fflush stdout for cygwin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a86ef37655c25e0e5a7cb0e41ba7b1c2dcdc1a90;p=mesa.git shadowtex: fflush stdout for cygwin --- diff --git a/progs/demos/shadowtex.c b/progs/demos/shadowtex.c index f10a01ec265..dc5a4bbc480 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(" + cursor keys = rotate light source\n"); if (HaveEXTshadowFuncs) printf(" o = cycle through comparison modes\n"); + fflush(stdout); }