src/video/windows/SDL_windowsopengl.c
changeset 8604 459bd7365e9d
parent 8149 681eb46b8ac4
child 8735 2134fc16252b
     1.1 --- a/src/video/windows/SDL_windowsopengl.c	Mon Mar 10 19:11:52 2014 -0700
     1.2 +++ b/src/video/windows/SDL_windowsopengl.c	Mon Mar 10 19:59:06 2014 -0700
     1.3 @@ -616,13 +616,13 @@
     1.4      }
     1.5  
     1.6      if (_this->gl_config.major_version < 3 &&
     1.7 -    _this->gl_config.profile_mask == 0 &&
     1.8 -    _this->gl_config.flags == 0) {
     1.9 +        _this->gl_config.profile_mask == 0 &&
    1.10 +        _this->gl_config.flags == 0) {
    1.11          /* Create legacy context */
    1.12          context = _this->gl_data->wglCreateContext(hdc);
    1.13 -    if( share_context != 0 ) {
    1.14 +        if( share_context != 0 ) {
    1.15              _this->gl_data->wglShareLists(share_context, context);
    1.16 -    }
    1.17 +        }
    1.18      } else {
    1.19          PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;
    1.20          HGLRC temp_context = _this->gl_data->wglCreateContext(hdc);