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