shadowtex: fflush stdout for cygwin
authorKeith Whitwell <keithw@vmware.com>
Fri, 24 Apr 2009 11:16:29 +0000 (12:16 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 24 Apr 2009 11:16:39 +0000 (12:16 +0100)
progs/demos/shadowtex.c

index f10a01e..dc5a4bb 100644 (file)
@@ -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);
 }