summaryrefslogtreecommitdiffstats
path: root/progs/vp
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-21 13:17:48 +0100
committerKeith Whitwell <[email protected]>2008-05-23 09:16:56 +0100
commit2f13d4cd58ec2bd60fd9a31cb1b2fb4bc8ee4ec7 (patch)
treed1bf57224d693888c76b74bfec31d6b8b9879112 /progs/vp
parent1ba10e5ccf5cd0c990922e982e1e9bc6be48a5e4 (diff)
vp-tris: use test name as window name
Diffstat (limited to 'progs/vp')
-rw-r--r--progs/vp/vp-tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/vp/vp-tris.c b/progs/vp/vp-tris.c
index f9e6cdad74d..eb450cb5981 100644
--- a/progs/vp/vp-tris.c
+++ b/progs/vp/vp-tris.c
@@ -230,7 +230,7 @@ int main( int argc, char *argv[] )
glutInitWindowPosition( 0, 0 );
glutInitWindowSize( 250, 250 );
glutInitDisplayMode( GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH );
- glutCreateWindow(argv[0]);
+ glutCreateWindow(argv[argc-1]);
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );
glutDisplayFunc( Display );