From 4e37f108065cc13a01117915c38d185811df6e4f Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Thu, 19 Feb 2009 22:48:21 +0100 Subject: trival: Make the last of progs show the name --- progs/trivial/long-fixed-func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/trivial/long-fixed-func.c') 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(); -- cgit v1.2.3