summaryrefslogtreecommitdiffstats
path: root/progs/trivial/createwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/createwin.c')
-rw-r--r--progs/trivial/createwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/createwin.c b/progs/trivial/createwin.c
index 901048555a9..44d5b1b2c5f 100644
--- a/progs/trivial/createwin.c
+++ b/progs/trivial/createwin.c
@@ -106,7 +106,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);
}