From dea51d253ae0a0ef5fc8b3d4a0e4544672d0ab94 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 7 Feb 2012 02:11:42 -0500 Subject: [PATCH] Removed GLX_BUFFER_SIZE attribute; it doesn't do anything with GLX_RGBA. --- src/video/x11/SDL_x11opengl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c index 08a189718..39847ca20 100755 --- a/src/video/x11/SDL_x11opengl.c +++ b/src/video/x11/SDL_x11opengl.c @@ -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; }