summaryrefslogtreecommitdiffstats
path: root/progs/trivial/tri-unfilled-tri.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-19 22:52:05 -0800
committerVinson Lee <[email protected]>2009-11-19 22:52:05 -0800
commit9553a42f638bd98eb90e5b7fb37d6b82758b6363 (patch)
tree5e7a21e0431fdea74a9de8d5eba6e9936388dee3 /progs/trivial/tri-unfilled-tri.c
parent881f55236ad85f95745e70f8363726fa3c201f80 (diff)
progs/trivial: Redraw upon keypress.
Diffstat (limited to 'progs/trivial/tri-unfilled-tri.c')
-rw-r--r--progs/trivial/tri-unfilled-tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/tri-unfilled-tri.c b/progs/trivial/tri-unfilled-tri.c
index 695cc890955..75a70b8a412 100644
--- a/progs/trivial/tri-unfilled-tri.c
+++ b/progs/trivial/tri-unfilled-tri.c
@@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
- return;
+ break;
}
glutPostRedisplay();