Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 bf2f3a9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/video/x11/SDL_x11gl.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit bf2f3a9

Please sign in to comment.