progs/glsl: Redraw upon keypress.
authorVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 06:46:19 +0000 (22:46 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 06:46:19 +0000 (22:46 -0800)
progs/glsl/convolutions.c

index c2fb76e1aa5a91737cf2bf0714b5c34a6c70e8f5..350e61bbdc5d08288f974b3b9da00fec07b04e43 100644 (file)
@@ -369,7 +369,7 @@ static void keyPress(unsigned char key, int x, int y)
    case 27:
       exit(0);
    default:
-      return;
+      break;
    }
    glutPostRedisplay();
 }