projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba10e5
)
vp-tris: use test name as window name
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 21 May 2008 12:17:48 +0000
(13:17 +0100)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 23 May 2008 08:16:56 +0000
(09:16 +0100)
progs/vp/vp-tris.c
patch
|
blob
|
history
diff --git
a/progs/vp/vp-tris.c
b/progs/vp/vp-tris.c
index f9e6cdad74dce76d42d10534ce5a262f2454f57c..eb450cb5981c3f5c9f1b729ab7ecac83171f9b8a 100644
(file)
--- 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 );