ARB prog parser: fix parameter binding type
[mesa.git] / progs / trivial / tri-stencil.c
index 7686e16aef185f6a81803aebe39e56448bb66d3e..9f68bca9149f95339600eee36c4099c08e1a0377 100644 (file)
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
     type = GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH | GLUT_STENCIL;
     glutInitDisplayMode(type);
 
-    if (glutCreateWindow("Stencil Test") == GL_FALSE) {
+    if (glutCreateWindow(*argv) == GL_FALSE) {
        exit(1);
     }