Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
[mesa.git] / progs / trivial / tri-unfilled-userclip-stip.c
index 4aefa85032f824e38d879431229795cc38fb4a74..ddc0dffd4f4ae6abbe94ca21b40764da7d7919b6 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);
@@ -133,7 +134,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);
     }