commit | 4e37f108065cc13a01117915c38d185811df6e4f | [log] [tgz] |
---|---|---|
author | Jakob Bornecrantz <jakob@vmware.com> | Thu Feb 19 22:48:21 2009 +0100 |
committer | Jakob Bornecrantz <jakob@vmware.com> | Thu Feb 19 22:50:18 2009 +0100 |
tree | e6f4598870fd521f46a197e6bb51b2cc20b1be3e | |
parent | 2b32c7dff51fa9853ba528744bd191400aa4b206 [diff] [blame] |
trival: Make the last of progs show the name
diff --git a/progs/trivial/tri-stencil.c b/progs/trivial/tri-stencil.c index 7686e16..9f68bca 100644 --- a/progs/trivial/tri-stencil.c +++ b/progs/trivial/tri-stencil.c
@@ -144,7 +144,7 @@ type = GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH | GLUT_STENCIL; glutInitDisplayMode(type); - if (glutCreateWindow("Stencil Test") == GL_FALSE) { + if (glutCreateWindow(*argv) == GL_FALSE) { exit(1); }