From defd52f6c75ad1f714ce90f5763ec8a4d48dd773 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 18 Feb 2009 18:20:50 +0000 Subject: progs/trivial: Label program windows with actual program name Each of these programs previously called itself "First Tri" which was a little confusing. Could have left one as "First Tri", but the trouble then is that people would still clone that file & we'd end up with another thousand first tri apps... --- progs/trivial/tri-unfilled-userclip-stip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/trivial/tri-unfilled-userclip-stip.c') diff --git a/progs/trivial/tri-unfilled-userclip-stip.c b/progs/trivial/tri-unfilled-userclip-stip.c index 4aefa85032f..6835b53c0f5 100644 --- a/progs/trivial/tri-unfilled-userclip-stip.c +++ b/progs/trivial/tri-unfilled-userclip-stip.c @@ -133,7 +133,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); } -- cgit v1.2.3