summaryrefslogtreecommitdiff
path: root/progs/trivial/quad-offset-units.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/quad-offset-units.c')
-rw-r--r--progs/trivial/quad-offset-units.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/quad-offset-units.c b/progs/trivial/quad-offset-units.c
index d5db21469e..b4b138b4b4 100644
--- a/progs/trivial/quad-offset-units.c
+++ b/progs/trivial/quad-offset-units.c
@@ -143,7 +143,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);
}