src/video/x11/SDL_x11gl.c
changeset 656 864e2d2a9a55
parent 655 9c42ee1b7d77
child 667 adbed8d7a991
--- a/src/video/x11/SDL_x11gl.c	Tue Jul 22 15:10:06 2003 +0000
+++ b/src/video/x11/SDL_x11gl.c	Tue Jul 22 15:33:28 2003 +0000
@@ -123,14 +123,14 @@
 		attribs[i++] = this->gl_config.stereo;
 	}
 	
-	if( this->gl_config.sample_buffers ) {
+	if( this->gl_config.multisamplebuffers ) {
 		attribs[i++] = GLX_SAMPLE_BUFFERS_ARB;
-		attribs[i++] = this->gl_config.sample_buffers;
+		attribs[i++] = this->gl_config.multisamplebuffers;
 	}
 	
-	if( this->gl_config.samples ) {
+	if( this->gl_config.multisamplesamples ) {
 		attribs[i++] = GLX_SAMPLES_ARB;
-		attribs[i++] = this->gl_config.samples;
+		attribs[i++] = this->gl_config.multisamplesamples;
 	}
 
 #ifdef GLX_DIRECT_COLOR /* Try for a DirectColor visual for gamma support */
@@ -362,10 +362,10 @@
 	    case SDL_GL_STEREO:
 		glx_attrib = GLX_STEREO;
 		break;
- 	    case SDL_GL_SAMPLE_BUFFERS:
+ 	    case SDL_GL_MULTISAMPLEBUFFERS:
  		glx_attrib = GLX_SAMPLE_BUFFERS_ARB;
  		break;
- 	    case SDL_GL_SAMPLES:
+ 	    case SDL_GL_MULTISAMPLESAMPLES:
  		glx_attrib = GLX_SAMPLES_ARB;
  		break;
 	    default: