Minor indentation clean up.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 15 Jul 2013 01:12:15 -0400
changeset 7462 66b536503733
parent 7461 489d2bbcf4aa
child 7463 f2f794cf85c0
Minor indentation clean up.
src/video/x11/SDL_x11opengl.c
--- a/src/video/x11/SDL_x11opengl.c	Sun Jul 14 21:30:16 2013 -0400
+++ b/src/video/x11/SDL_x11opengl.c	Mon Jul 15 01:12:15 2013 -0400
@@ -383,7 +383,7 @@
     /* 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;
     }
@@ -401,8 +401,9 @@
 
     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;
@@ -435,8 +436,9 @@
 
     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) {