comparison test/testgl.c @ 1880:9d940db55a91

Fixed bug #260 Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux
author Sam Lantinga <slouken@libsdl.org>
date Sat, 24 Jun 2006 01:59:43 +0000
parents 871090feb7ad
children c121d94672cb
comparison
equal deleted inserted replaced
1879:cb232e63552c 1880:9d940db55a91
832 if ( strcmp(argv[i], "-sync") == 0 ) { 832 if ( strcmp(argv[i], "-sync") == 0 ) {
833 ++sync; 833 ++sync;
834 } 834 }
835 if ( strncmp(argv[i], "-h", 2) == 0 ) { 835 if ( strncmp(argv[i], "-h", 2) == 0 ) {
836 printf( 836 printf(
837 "Usage: %s [-twice] [-logo] [-logocursor] [-slow] [-bpp n] [-gamma n] [-noframe] [-fsaa] [-fullscreen]\n", 837 "Usage: %s [-twice] [-logo] [-logocursor] [-slow] [-bpp n] [-gamma n] [-noframe] [-fsaa] [-accel] [-sync] [-fullscreen]\n",
838 argv[0]); 838 argv[0]);
839 exit(0); 839 exit(0);
840 } 840 }
841 } 841 }
842 for ( i=0; i<numtests; ++i ) { 842 for ( i=0; i<numtests; ++i ) {