X11: Remove GLX_BUFFER_SIZE attribute. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Wed, 18 Jan 2012 03:36:47 -0500
branchSDL-1.2
changeset 6226 8c0728852b21
parent 6225 e1264a758d50
child 6227 e11fd9609d10
X11: Remove GLX_BUFFER_SIZE attribute. This attribute is ignored if we set GLX_RGBA, which we do.
src/video/x11/SDL_x11gl.c
--- a/src/video/x11/SDL_x11gl.c	Wed Jan 18 03:03:23 2012 -0500
+++ b/src/video/x11/SDL_x11gl.c	Wed Jan 18 03:36:47 2012 -0500
@@ -143,11 +143,6 @@
 		attribs[i++] = this->gl_config.alpha_size;
 	}
 
-	if( this->gl_config.buffer_size ) {
-		attribs[i++] = GLX_BUFFER_SIZE;
-		attribs[i++] = this->gl_config.buffer_size;
-	}
-
 	if( this->gl_config.double_buffer ) {
 		attribs[i++] = GLX_DOUBLEBUFFER;
 	}