X11: Remove GLX_BUFFER_SIZE attribute.

This attribute is ignored if we set GLX_RGBA, which we do.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2012-01-18 03:36:47 -05:00
parent a0bd618791
commit 28413fe21f

View File

@@ -143,11 +143,6 @@ XVisualInfo *X11_GL_GetVisual(_THIS)
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;
}