Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA.
authorRyan C. Gordon
Tue, 07 Feb 2012 02:11:42 -0500
changeset 628264ae376becce
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
     1.1 --- a/src/video/x11/SDL_x11opengl.c	Tue Feb 07 02:11:15 2012 -0500
     1.2 +++ b/src/video/x11/SDL_x11opengl.c	Tue Feb 07 02:11:42 2012 -0500
     1.3 @@ -327,11 +327,6 @@
     1.4          attribs[i++] = _this->gl_config.alpha_size;
     1.5      }
     1.6  
     1.7 -    if (_this->gl_config.buffer_size) {
     1.8 -        attribs[i++] = GLX_BUFFER_SIZE;
     1.9 -        attribs[i++] = _this->gl_config.buffer_size;
    1.10 -    }
    1.11 -
    1.12      if (_this->gl_config.double_buffer) {
    1.13          attribs[i++] = GLX_DOUBLEBUFFER;
    1.14      }