progs/tests: Tests more views in mipmap_comp_tests
[mesa.git] / progs / trivial / line-userclip-clip.c
index 5c9c1b3b291e2cd2b93da6ecea2f9ab14e1c2401..8e030b47cea9e4a9a3bc8c136d1a67266ed530b6 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);
@@ -128,7 +129,7 @@ int main(int argc, char **argv)
     type |= (doubleBuffer) ? GLUT_DOUBLE : GLUT_SINGLE;
     glutInitDisplayMode(type);
 
-    if (glutCreateWindow("First Tri") == GL_FALSE) {
+    if (glutCreateWindow(*argv) == GL_FALSE) {
        exit(1);
     }