diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2013-07-15 01:12:15 -0400 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2013-07-15 01:12:15 -0400 |
commit | 9e574095f8c8c8dd17d78f03e71f9882fefef9d4 (patch) | |
tree | 86f244a69fc6eaa0864c5c8a14acec933c6aab98 /src/video/x11/SDL_x11opengl.c | |
parent | 83c211c2bce96856e25802ad9461ff76b3e8a255 (diff) |
Minor indentation clean up.
Diffstat (limited to 'src/video/x11/SDL_x11opengl.c')
-rw-r--r-- | src/video/x11/SDL_x11opengl.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c index 947000f90c..1ccc66c4e7 100644 --- a/src/video/x11/SDL_x11opengl.c +++ b/src/video/x11/SDL_x11opengl.c @@ -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; } @@ -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; @@ -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) { |