diff options
author | Vinson Lee <[email protected]> | 2009-11-19 22:52:05 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-11-19 22:52:05 -0800 |
commit | 9553a42f638bd98eb90e5b7fb37d6b82758b6363 (patch) | |
tree | 5e7a21e0431fdea74a9de8d5eba6e9936388dee3 /progs | |
parent | 881f55236ad85f95745e70f8363726fa3c201f80 (diff) |
progs/trivial: Redraw upon keypress.
Diffstat (limited to 'progs')
-rw-r--r-- | progs/trivial/linestrip-clip.c | 2 | ||||
-rw-r--r-- | progs/trivial/linestrip-flat-stipple.c | 2 | ||||
-rw-r--r-- | progs/trivial/linestrip.c | 2 | ||||
-rw-r--r-- | progs/trivial/tri-unfilled-tri.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/progs/trivial/linestrip-clip.c b/progs/trivial/linestrip-clip.c index f2528229218..5e90ea2eb05 100644 --- a/progs/trivial/linestrip-clip.c +++ b/progs/trivial/linestrip-clip.c @@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/trivial/linestrip-flat-stipple.c b/progs/trivial/linestrip-flat-stipple.c index 5caa7244235..bae5c3a1c3b 100644 --- a/progs/trivial/linestrip-flat-stipple.c +++ b/progs/trivial/linestrip-flat-stipple.c @@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/trivial/linestrip.c b/progs/trivial/linestrip.c index 0219b1ab70e..b6d68821463 100644 --- a/progs/trivial/linestrip.c +++ b/progs/trivial/linestrip.c @@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); 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(); |