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