Redraw on keypress, as apparently intended.
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 6 Jan 2005 17:12:56 +0000 (17:12 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 6 Jan 2005 17:12:56 +0000 (17:12 +0000)
progs/redbook/polys.c

index 17c1cfbff2ba83a7e7d6e559158d5edc66f1067c..409abd1753181b6989d9bfa37b527cd486536517 100644 (file)
@@ -114,7 +114,7 @@ key(unsigned char k, int x, int y)
     exit(0);
     break;
   default:
-    return;
+    break;
   }
   glutPostRedisplay();
 }