summaryrefslogtreecommitdiffstats
path: root/progs/trivial/tri-stencil.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/trivial/tri-stencil.c')
-rw-r--r--progs/trivial/tri-stencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/tri-stencil.c b/progs/trivial/tri-stencil.c
index 7686e16aef1..9f68bca9149 100644
--- a/progs/trivial/tri-stencil.c
+++ b/progs/trivial/tri-stencil.c
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
type = GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH | GLUT_STENCIL;
glutInitDisplayMode(type);
- if (glutCreateWindow("Stencil Test") == GL_FALSE) {
+ if (glutCreateWindow(*argv) == GL_FALSE) {
exit(1);
}