mesa/st: refactor vertex and fragment shader translation
[mesa.git] / progs / glsl / multinoise.c
index 0afe2308012055da707cc21c83aa2f7924f01a78..06207f78b587f48e41d26e6d31183796f9194eeb 100644 (file)
@@ -125,6 +125,7 @@ Key(unsigned char key, int x, int y)
    case 'a':
       Anim = !Anim;
       glutIdleFunc(Anim ? Idle : NULL);
+      break;
    case 's':
       Slice -= step;
       break;
@@ -262,7 +263,6 @@ int
 main(int argc, char *argv[])
 {
    glutInit(&argc, argv);
-   glutInitWindowPosition( 0, 0);
    glutInitWindowSize(400, 400);
    glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
    win = glutCreateWindow(argv[0]);