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