[Commits] SDL: X11: Remove GLX_BUFFER_SIZE attribute.

libsdl.org revision control commits-owner at libsdl.org
Wed Jan 18 08:50:40 PST 2012


details:   http://hg.libsdl.org/SDL/rev/8c0728852b21
changeset: 6226:8c0728852b21
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Wed Jan 18 03:36:47 2012 -0500
description:
X11: Remove GLX_BUFFER_SIZE attribute.

This attribute is ignored if we set GLX_RGBA, which we do.

diffstat:

 src/video/x11/SDL_x11gl.c |  5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diffs (15 lines):

diff -r e1264a758d50 -r 8c0728852b21 src/video/x11/SDL_x11gl.c
--- a/src/video/x11/SDL_x11gl.c	Wed Jan 18 03:03:23 2012 -0500
+++ b/src/video/x11/SDL_x11gl.c	Wed Jan 18 03:36:47 2012 -0500
@@ -143,11 +143,6 @@
 		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;
 	}


More information about the commits mailing list