summaryrefslogtreecommitdiff
path: root/progs/trivial/long-fixed-func.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-02-19 22:48:21 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-02-19 22:50:18 +0100
commit4e37f108065cc13a01117915c38d185811df6e4f (patch)
treee6f4598870fd521f46a197e6bb51b2cc20b1be3e /progs/trivial/long-fixed-func.c
parent2b32c7dff51fa9853ba528744bd191400aa4b206 (diff)
trival: Make the last of progs show the name
Diffstat (limited to 'progs/trivial/long-fixed-func.c')
-rw-r--r--progs/trivial/long-fixed-func.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/long-fixed-func.c b/progs/trivial/long-fixed-func.c
index 41ad25c1b3..f2a29a9d37 100644
--- a/progs/trivial/long-fixed-func.c
+++ b/progs/trivial/long-fixed-func.c
@@ -139,7 +139,7 @@ main(int argc, char **argv)
glutInitWindowPosition(0, 0);
glutInitWindowSize( 250, 250);
glutInitDisplayMode(type);
- if (glutCreateWindow("tri-long-fixedfunc") == GL_FALSE) {
+ if (glutCreateWindow(*argv) == GL_FALSE) {
exit(1);
}
glewInit();