summaryrefslogtreecommitdiff
path: root/progs/fp/tri-depthwrite2.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-18 14:41:40 -0800
committerVinson Lee <vlee@vmware.com>2009-12-03 15:59:56 -0800
commitd6a993135f151fca892609f7cf6f471416192217 (patch)
treeb1407fba42d724c50fbf370d7816590cf2e62229 /progs/fp/tri-depthwrite2.c
parent005242f1664afdd6f4b832863d569e9e3c583454 (diff)
progs/fp: Redraw upon keypress.
(cherry picked from commit cde66437247feb8b14b6d8f3ec3a8b4665fefa08)
Diffstat (limited to 'progs/fp/tri-depthwrite2.c')
-rw-r--r--progs/fp/tri-depthwrite2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/fp/tri-depthwrite2.c b/progs/fp/tri-depthwrite2.c
index 3c0b4d30c9..599949551d 100644
--- a/progs/fp/tri-depthwrite2.c
+++ b/progs/fp/tri-depthwrite2.c
@@ -55,7 +55,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
- return;
+ break;
}
glutPostRedisplay();