From a86ef37655c25e0e5a7cb0e41ba7b1c2dcdc1a90 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 24 Apr 2009 12:16:29 +0100 Subject: [PATCH] shadowtex: fflush stdout for cygwin --- progs/demos/shadowtex.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2