progs/trivial: Redraw upon keypress.
authorVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 06:52:05 +0000 (22:52 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 4 Dec 2009 01:27:24 +0000 (17:27 -0800)
(cherry picked from commit 9553a42f638bd98eb90e5b7fb37d6b82758b6363)

progs/trivial/linestrip-clip.c
progs/trivial/linestrip-flat-stipple.c
progs/trivial/linestrip.c
progs/trivial/tri-unfilled-tri.c

index f2528229218ab171ae6bbd984955c689aa4edbf2..5e90ea2eb05e423a21b17e740cb791848cbd2e90 100644 (file)
@@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
        exit(1);
       default:
-       return;
+       break;
     }
 
     glutPostRedisplay();
index 5caa7244235d49c86538a150e8f4f5da7b33aeb8..bae5c3a1c3bf7ba677d24a2eb2901f5031d9cbd3 100644 (file)
@@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
        exit(1);
       default:
-       return;
+       break;
     }
 
     glutPostRedisplay();
index 0219b1ab70e1e813db70e86f1136e93ae81e5f12..b6d688214631c4d22f5dc1832e6c70fea3d5caba 100644 (file)
@@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
        exit(1);
       default:
-       return;
+       break;
     }
 
     glutPostRedisplay();
index 695cc890955c60865738b0473a6f8dd56dd3dbd4..75a70b8a4129a0a4f37b480ecce10ba2f887eb05 100644 (file)
@@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
        exit(1);
       default:
-       return;
+       break;
     }
 
     glutPostRedisplay();