diff options
author | Vinson Lee <[email protected]> | 2009-11-19 22:52:05 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-03 17:27:24 -0800 |
commit | 56de7e222ee0f5e44b87ce05dc94733fdd41e4ed (patch) | |
tree | 1d5f563079e2ce16b9c55eab22f5aa70325b5aae /progs/trivial/tri-unfilled-tri.c | |
parent | 34a0b22a741a136687e4feb7216595bf0f8445cb (diff) |
progs/trivial: Redraw upon keypress.
(cherry picked from commit 9553a42f638bd98eb90e5b7fb37d6b82758b6363)
Diffstat (limited to 'progs/trivial/tri-unfilled-tri.c')
-rw-r--r-- | progs/trivial/tri-unfilled-tri.c | 2 |
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(); |