Minor indentation clean up.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 15 Jul 2013 01:12:15 -0400
changeset 746266b536503733
parent 7461 489d2bbcf4aa
child 7463 f2f794cf85c0
Minor indentation clean up.
src/video/x11/SDL_x11opengl.c
     1.1 --- a/src/video/x11/SDL_x11opengl.c	Sun Jul 14 21:30:16 2013 -0400
     1.2 +++ b/src/video/x11/SDL_x11opengl.c	Mon Jul 15 01:12:15 2013 -0400
     1.3 @@ -383,7 +383,7 @@
     1.4      /* Setup our GLX attributes according to the gl_config. */
     1.5      if( for_FBConfig ) {
     1.6          attribs[i++] = GLX_RENDER_TYPE;
     1.7 -    attribs[i++] = GLX_RGBA_BIT;
     1.8 +        attribs[i++] = GLX_RGBA_BIT;
     1.9      } else {
    1.10          attribs[i++] = GLX_RGBA;
    1.11      }
    1.12 @@ -401,8 +401,9 @@
    1.13  
    1.14      if (_this->gl_config.double_buffer) {
    1.15          attribs[i++] = GLX_DOUBLEBUFFER;
    1.16 -    if( for_FBConfig )
    1.17 -        attribs[i++] = True;
    1.18 +        if( for_FBConfig ) {
    1.19 +            attribs[i++] = True;
    1.20 +        }
    1.21      }
    1.22  
    1.23      attribs[i++] = GLX_DEPTH_SIZE;
    1.24 @@ -435,8 +436,9 @@
    1.25  
    1.26      if (_this->gl_config.stereo) {
    1.27          attribs[i++] = GLX_STEREO;
    1.28 -    if( for_FBConfig )
    1.29 -        attribs[i++] = True;
    1.30 +        if( for_FBConfig ) {
    1.31 +            attribs[i++] = True;
    1.32 +        }
    1.33      }
    1.34  
    1.35      if (_this->gl_config.multisamplebuffers) {