summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2012-01-18 03:36:47 -0500
committerRyan C. Gordon <icculus@icculus.org>2012-01-18 03:36:47 -0500
commit14524755f27c43de9e4c7fbc8bff0f036e02774f (patch)
tree9aee309847d61634042e211956de16e525a56d72
parent2ba6225516c5a2cbbc668e5e61f168f10c17dca7 (diff)
X11: Remove GLX_BUFFER_SIZE attribute.
This attribute is ignored if we set GLX_RGBA, which we do. --HG-- branch : SDL-1.2
-rw-r--r--src/video/x11/SDL_x11gl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video/x11/SDL_x11gl.c b/src/video/x11/SDL_x11gl.c
index fa432e6f1a..aa5297b674 100644
--- a/src/video/x11/SDL_x11gl.c
+++ b/src/video/x11/SDL_x11gl.c
@@ -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;
}