Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA.

This commit is contained in:
Ryan C. Gordon 2012-02-07 02:11:42 -05:00
parent df8784cd61
commit 3e4b380d2c

View file

@ -327,11 +327,6 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si
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;
}