Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA.
This commit is contained in:
parent
df8784cd61
commit
3e4b380d2c
1 changed files with 0 additions and 5 deletions
|
@ -327,11 +327,6 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si
|
||||||
attribs[i++] = _this->gl_config.alpha_size;
|
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) {
|
if (_this->gl_config.double_buffer) {
|
||||||
attribs[i++] = GLX_DOUBLEBUFFER;
|
attribs[i++] = GLX_DOUBLEBUFFER;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue