test/testgl.c
changeset 1265 670e74bf5cc8
parent 933 4272450dd8d0
child 1439 4d3bb026cd16
--- a/test/testgl.c	Wed Jan 25 07:00:40 2006 +0000
+++ b/test/testgl.c	Wed Jan 25 07:04:02 2006 +0000
@@ -498,7 +498,7 @@
 		video_flags = SDL_OPENGL;
 	}
 	for ( i=1; argv[i]; ++i ) {
-		if ( strcmp(argv[1], "-fullscreen") == 0 ) {
+		if ( strcmp(argv[i], "-fullscreen") == 0 ) {
 			video_flags |= SDL_FULLSCREEN;
 		}
 	}