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 17c1cfb..409abd1 100644 (file)
@@ -114,7 +114,7 @@ key(unsigned char k, int x, int y)
     exit(0);
     break;
   default:
-    return;
+    break;
   }
   glutPostRedisplay();
 }