summaryrefslogtreecommitdiffstats
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-11-18 14:41:40 -0800
commitcde66437247feb8b14b6d8f3ec3a8b4665fefa08 (patch)
treef005bbe77d8a633aa14cea6508ca0188565d826b /progs/fp/tri-depthwrite2.c
parent9ab3c70f6568d980c3910d7ea8a3032445eaf49f (diff)
downloadexternal_mesa3d-cde66437247feb8b14b6d8f3ec3a8b4665fefa08.zip
external_mesa3d-cde66437247feb8b14b6d8f3ec3a8b4665fefa08.tar.gz
external_mesa3d-cde66437247feb8b14b6d8f3ec3a8b4665fefa08.tar.bz2
progs/fp: Redraw upon keypress.
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 3c0b4d3..5999495 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();