test/testgl.c
changeset 656 864e2d2a9a55
parent 655 9c42ee1b7d77
child 910 4ab6d1fd028f
     1.1 --- a/test/testgl.c	Tue Jul 22 15:10:06 2003 +0000
     1.2 +++ b/test/testgl.c	Tue Jul 22 15:33:28 2003 +0000
     1.3 @@ -476,8 +476,8 @@
     1.4  	SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
     1.5  	SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
     1.6  	if ( fsaa ) {
     1.7 -		SDL_GL_SetAttribute( SDL_GL_SAMPLE_BUFFERS, 1 );
     1.8 -		SDL_GL_SetAttribute( SDL_GL_SAMPLES, fsaa );
     1.9 +		SDL_GL_SetAttribute( SDL_GL_MULTISAMPLEBUFFERS, 1 );
    1.10 +		SDL_GL_SetAttribute( SDL_GL_MULTISAMPLESAMPLES, fsaa );
    1.11  	}
    1.12  	if ( SDL_SetVideoMode( w, h, bpp, video_flags ) == NULL ) {
    1.13  		fprintf(stderr, "Couldn't set GL mode: %s\n", SDL_GetError());
    1.14 @@ -504,10 +504,10 @@
    1.15  	SDL_GL_GetAttribute( SDL_GL_DOUBLEBUFFER, &value );
    1.16  	printf( "SDL_GL_DOUBLEBUFFER: requested 1, got %d\n", value );
    1.17  	if ( fsaa ) {
    1.18 -		SDL_GL_GetAttribute( SDL_GL_SAMPLE_BUFFERS, &value );
    1.19 -		printf( "SDL_GL_SAMPLE_BUFFERS: requested 1, got %d\n", value );
    1.20 -		SDL_GL_GetAttribute( SDL_GL_SAMPLES, &value );
    1.21 -		printf( "SDL_GL_SAMPLES: requested %d, got %d\n", fsaa, value );
    1.22 +		SDL_GL_GetAttribute( SDL_GL_MULTISAMPLEBUFFERS, &value );
    1.23 +		printf( "SDL_GL_MULTISAMPLEBUFFERS: requested 1, got %d\n", value );
    1.24 +		SDL_GL_GetAttribute( SDL_GL_MULTISAMPLESAMPLES, &value );
    1.25 +		printf( "SDL_GL_MULTISAMPLESAMPLES: requested %d, got %d\n", fsaa, value );
    1.26  	}
    1.27  
    1.28  	/* Set the window manager title bar */