summaryrefslogtreecommitdiff
path: root/progs/trivial/poly.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/poly.c')
-rw-r--r--progs/trivial/poly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/poly.c b/progs/trivial/poly.c
index 2f254de481..8944f148d0 100644
--- a/progs/trivial/poly.c
+++ b/progs/trivial/poly.c
@@ -124,7 +124,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);
}