projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a286e
)
shadowtex: fflush stdout for cygwin
author
Keith Whitwell
<keithw@vmware.com>
Fri, 24 Apr 2009 11:16:29 +0000
(12:16 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 24 Apr 2009 11:16:39 +0000
(12:16 +0100)
progs/demos/shadowtex.c
patch
|
blob
|
history
diff --git
a/progs/demos/shadowtex.c
b/progs/demos/shadowtex.c
index f10a01ec26557919b2b01174fed0d3f710dc2e0f..dc5a4bbc480b8e4a4c780af0a7b62958ed449e48 100644
(file)
--- 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);
}