Skip to content
Permalink
Browse files

X11: Remove GLX_BUFFER_SIZE attribute.

This attribute is ignored if we set GLX_RGBA, which we do.
  • Loading branch information
icculus committed Jan 18, 2012
1 parent b7c2f37 commit bf2f3a9322d6140064422dab37f98ee82c7ae36c
Showing with 0 additions and 5 deletions.
  1. +0 −5 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;
}

0 comments on commit bf2f3a9

Please sign in to comment.