Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
X11: Always specify "True" if setting GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB.
Fixes Bugzilla #2897.
  • Loading branch information
icculus committed Apr 6, 2015
1 parent 83aeb31 commit f3590ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/video/x11/SDL_x11opengl.c
Expand Up @@ -474,9 +474,7 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si

if (_this->gl_config.framebuffer_srgb_capable) {
attribs[i++] = GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB;
if( for_FBConfig ) {
attribs[i++] = True;
}
attribs[i++] = True; /* always needed, for_FBConfig or not! */
}

if (_this->gl_config.accelerated >= 0 &&
Expand Down

0 comments on commit f3590ab

Please sign in to comment.