src/video/SDL_video.c
changeset 655 9c42ee1b7d77
parent 650 fe445b59d307
child 656 864e2d2a9a55
     1.1 --- a/src/video/SDL_video.c	Tue Jul 22 14:01:21 2003 +0000
     1.2 +++ b/src/video/SDL_video.c	Tue Jul 22 15:10:06 2003 +0000
     1.3 @@ -233,6 +233,8 @@
     1.4  	video->gl_config.accum_blue_size = 0;
     1.5  	video->gl_config.accum_alpha_size = 0;
     1.6  	video->gl_config.stereo = 0;
     1.7 +	video->gl_config.sample_buffers = 0;
     1.8 +	video->gl_config.samples = 0;
     1.9  	
    1.10  	/* Initialize the video subsystem */
    1.11  	memset(&vformat, 0, sizeof(vformat));
    1.12 @@ -1420,6 +1422,12 @@
    1.13  		case SDL_GL_STEREO:
    1.14  			video->gl_config.stereo = value;
    1.15  			break;
    1.16 +		case SDL_GL_SAMPLE_BUFFERS:
    1.17 +			video->gl_config.sample_buffers = value;
    1.18 +			break;
    1.19 +		case SDL_GL_SAMPLES:
    1.20 +			video->gl_config.samples = value;
    1.21 +			break;
    1.22  		default:
    1.23  			SDL_SetError("Unknown OpenGL attribute");
    1.24  			retval = -1;