summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-04 23:31:39 -0800
committerVinson Lee <vlee@vmware.com>2009-12-04 23:31:39 -0800
commit8d2f3434c5904e28b5e1bccceba7e89a94502ac1 (patch)
tree31658020bfdc318d826a4c7edc4b6cd2ea9429bc
parentfe8e18bcd41a19282ba92350a04a34866fda1d7b (diff)
progs/fp: Redraw upon keypress.
-rw-r--r--progs/fp/tri-inv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/fp/tri-inv.c b/progs/fp/tri-inv.c
index 7e8d8c5ce29..7e490fa61ca 100644
--- a/progs/fp/tri-inv.c
+++ b/progs/fp/tri-inv.c
@@ -56,7 +56,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
- return;
+ break;
}
glutPostRedisplay();