diff options
author | Vinson Lee <[email protected]> | 2009-11-18 14:41:40 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-03 15:59:56 -0800 |
commit | d6a993135f151fca892609f7cf6f471416192217 (patch) | |
tree | b1407fba42d724c50fbf370d7816590cf2e62229 /progs | |
parent | 005242f1664afdd6f4b832863d569e9e3c583454 (diff) |
progs/fp: Redraw upon keypress.
(cherry picked from commit cde66437247feb8b14b6d8f3ec3a8b4665fefa08)
Diffstat (limited to 'progs')
-rw-r--r-- | progs/fp/fp-tri.c | 2 | ||||
-rw-r--r-- | progs/fp/point-position.c | 2 | ||||
-rw-r--r-- | progs/fp/tri-depth.c | 2 | ||||
-rw-r--r-- | progs/fp/tri-depth2.c | 2 | ||||
-rw-r--r-- | progs/fp/tri-depthwrite.c | 2 | ||||
-rw-r--r-- | progs/fp/tri-depthwrite2.c | 2 | ||||
-rw-r--r-- | progs/fp/tri-param.c | 2 | ||||
-rw-r--r-- | progs/fp/tri-tex.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c index 52a8fcfc22a..26af66ad84e 100644 --- a/progs/fp/fp-tri.c +++ b/progs/fp/fp-tri.c @@ -197,7 +197,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/fp/point-position.c b/progs/fp/point-position.c index c0963d7a0b5..1ae753c1d05 100644 --- a/progs/fp/point-position.c +++ b/progs/fp/point-position.c @@ -55,7 +55,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/fp/tri-depth.c b/progs/fp/tri-depth.c index 5488469e806..a9f3a6a5be3 100644 --- a/progs/fp/tri-depth.c +++ b/progs/fp/tri-depth.c @@ -57,7 +57,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/fp/tri-depth2.c b/progs/fp/tri-depth2.c index 6ed23071157..8c4336817be 100644 --- a/progs/fp/tri-depth2.c +++ b/progs/fp/tri-depth2.c @@ -59,7 +59,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/fp/tri-depthwrite.c b/progs/fp/tri-depthwrite.c index 8e4f3e62451..7b9d70f292a 100644 --- a/progs/fp/tri-depthwrite.c +++ b/progs/fp/tri-depthwrite.c @@ -55,7 +55,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/fp/tri-depthwrite2.c b/progs/fp/tri-depthwrite2.c index 3c0b4d30c97..599949551d1 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(); diff --git a/progs/fp/tri-param.c b/progs/fp/tri-param.c index 57443d71bd0..26a804d4b38 100644 --- a/progs/fp/tri-param.c +++ b/progs/fp/tri-param.c @@ -54,7 +54,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); diff --git a/progs/fp/tri-tex.c b/progs/fp/tri-tex.c index 1dbbb201cef..64299e94531 100644 --- a/progs/fp/tri-tex.c +++ b/progs/fp/tri-tex.c @@ -76,7 +76,7 @@ static void Key(unsigned char key, int x, int y) case 27: exit(1); default: - return; + break; } glutPostRedisplay(); |