From 28413fe21fd818a51f4745f7f66ea70064bdb834 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 18 Jan 2012 03:36:47 -0500 Subject: [PATCH] X11: Remove GLX_BUFFER_SIZE attribute. This attribute is ignored if we set GLX_RGBA, which we do. --HG-- branch : SDL-1.2 --- src/video/x11/SDL_x11gl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/video/x11/SDL_x11gl.c b/src/video/x11/SDL_x11gl.c index fa432e6f1..aa5297b67 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; }