Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 07 Feb 2012 02:11:42 -0500
changeset 6282 64ae376becce
parent 6281 e46d6f4b469e
child 6283 03a7ceb3487b
Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA.
src/video/x11/SDL_x11opengl.c
--- a/src/video/x11/SDL_x11opengl.c	Tue Feb 07 02:11:15 2012 -0500
+++ b/src/video/x11/SDL_x11opengl.c	Tue Feb 07 02:11:42 2012 -0500
@@ -327,11 +327,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;
     }