Merge branch 'width0'
[mesa.git] / progs / trivial / line-userclip.c
index 77d8228188c0919f87b392d664dd0c4ef3b20075..6cfcb6fc73246579e7df92c2b6da78770ecefa43 100644 (file)
@@ -41,6 +41,7 @@ static void Init(void)
    fprintf(stderr, "GL_RENDERER   = %s\n", (char *) glGetString(GL_RENDERER));
    fprintf(stderr, "GL_VERSION    = %s\n", (char *) glGetString(GL_VERSION));
    fprintf(stderr, "GL_VENDOR     = %s\n", (char *) glGetString(GL_VENDOR));
+   fflush(stderr);
 
    glClearColor(0.0, 0.0, 1.0, 0.0);   
    glClipPlane(GL_CLIP_PLANE0, plane);
@@ -65,7 +66,7 @@ static void Key(unsigned char key, int x, int y)
       case 27:
        exit(1);
       default:
-       return;
+       break;
     }
 
     glutPostRedisplay();