summaryrefslogtreecommitdiffstats
path: root/progs/trivial/tri-tri.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-02-18 18:20:50 +0000
committerKeith Whitwell <[email protected]>2009-02-18 18:22:23 +0000
commitdefd52f6c75ad1f714ce90f5763ec8a4d48dd773 (patch)
tree7f095533e7d952942bfbe74e546a74d6a801e940 /progs/trivial/tri-tri.c
parent056f847e96aa84c1e7c9ee7ce60f4d7f7603676b (diff)
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...
Diffstat (limited to 'progs/trivial/tri-tri.c')
-rw-r--r--progs/trivial/tri-tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/tri-tri.c b/progs/trivial/tri-tri.c
index 06a0528eb87..8b0c2dafefe 100644
--- a/progs/trivial/tri-tri.c
+++ b/progs/trivial/tri-tri.c
@@ -131,7 +131,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);
}