src/video/x11/SDL_x11gl.c
changeset 656 864e2d2a9a55
parent 655 9c42ee1b7d77
child 667 adbed8d7a991
     1.1 --- a/src/video/x11/SDL_x11gl.c	Tue Jul 22 15:10:06 2003 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Tue Jul 22 15:33:28 2003 +0000
     1.3 @@ -123,14 +123,14 @@
     1.4  		attribs[i++] = this->gl_config.stereo;
     1.5  	}
     1.6  	
     1.7 -	if( this->gl_config.sample_buffers ) {
     1.8 +	if( this->gl_config.multisamplebuffers ) {
     1.9  		attribs[i++] = GLX_SAMPLE_BUFFERS_ARB;
    1.10 -		attribs[i++] = this->gl_config.sample_buffers;
    1.11 +		attribs[i++] = this->gl_config.multisamplebuffers;
    1.12  	}
    1.13  	
    1.14 -	if( this->gl_config.samples ) {
    1.15 +	if( this->gl_config.multisamplesamples ) {
    1.16  		attribs[i++] = GLX_SAMPLES_ARB;
    1.17 -		attribs[i++] = this->gl_config.samples;
    1.18 +		attribs[i++] = this->gl_config.multisamplesamples;
    1.19  	}
    1.20  
    1.21  #ifdef GLX_DIRECT_COLOR /* Try for a DirectColor visual for gamma support */
    1.22 @@ -362,10 +362,10 @@
    1.23  	    case SDL_GL_STEREO:
    1.24  		glx_attrib = GLX_STEREO;
    1.25  		break;
    1.26 - 	    case SDL_GL_SAMPLE_BUFFERS:
    1.27 + 	    case SDL_GL_MULTISAMPLEBUFFERS:
    1.28   		glx_attrib = GLX_SAMPLE_BUFFERS_ARB;
    1.29   		break;
    1.30 - 	    case SDL_GL_SAMPLES:
    1.31 + 	    case SDL_GL_MULTISAMPLESAMPLES:
    1.32   		glx_attrib = GLX_SAMPLES_ARB;
    1.33   		break;
    1.34  	    default: