summaryrefslogtreecommitdiff
path: root/progs/trivial/tri.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/tri.c')
-rw-r--r--progs/trivial/tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/tri.c b/progs/trivial/tri.c
index d3c6b59ea5..033d6ceae2 100644
--- a/progs/trivial/tri.c
+++ b/progs/trivial/tri.c
@@ -119,7 +119,7 @@ int main(int argc, char **argv)
type |= (doubleBuffer) ? GLUT_DOUBLE : GLUT_SINGLE;
glutInitDisplayMode(type);
- win = glutCreateWindow("First Tri");
+ win = glutCreateWindow(*argv);
if (!win) {
exit(1);
}