Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Minor indentation clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 15, 2013
1 parent 83411c0 commit 2b0b5cf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/video/x11/SDL_x11opengl.c
Expand Up @@ -383,7 +383,7 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si
/* Setup our GLX attributes according to the gl_config. */
if( for_FBConfig ) {
attribs[i++] = GLX_RENDER_TYPE;
attribs[i++] = GLX_RGBA_BIT;
attribs[i++] = GLX_RGBA_BIT;
} else {
attribs[i++] = GLX_RGBA;
}
Expand All @@ -401,8 +401,9 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si

if (_this->gl_config.double_buffer) {
attribs[i++] = GLX_DOUBLEBUFFER;
if( for_FBConfig )
attribs[i++] = True;
if( for_FBConfig ) {
attribs[i++] = True;
}
}

attribs[i++] = GLX_DEPTH_SIZE;
Expand Down Expand Up @@ -435,8 +436,9 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si

if (_this->gl_config.stereo) {
attribs[i++] = GLX_STEREO;
if( for_FBConfig )
attribs[i++] = True;
if( for_FBConfig ) {
attribs[i++] = True;
}
}

if (_this->gl_config.multisamplebuffers) {
Expand Down

0 comments on commit 2b0b5cf

Please sign in to comment.