src/video/windows/SDL_windowsopengl.c
changeset 5446 6ac8b0ac645e
parent 5262 b530ef003506
child 5535 96594ac5fd1a
     1.1 --- a/src/video/windows/SDL_windowsopengl.c	Mon Mar 07 09:58:21 2011 -0800
     1.2 +++ b/src/video/windows/SDL_windowsopengl.c	Mon Mar 07 14:06:46 2011 -0800
     1.3 @@ -409,8 +409,6 @@
     1.4  
     1.5      *iAttr++ = WGL_DRAW_TO_WINDOW_ARB;
     1.6      *iAttr++ = GL_TRUE;
     1.7 -    *iAttr++ = WGL_ACCELERATION_ARB;
     1.8 -    *iAttr++ = WGL_FULL_ACCELERATION_ARB;
     1.9      *iAttr++ = WGL_RED_BITS_ARB;
    1.10      *iAttr++ = _this->gl_config.red_size;
    1.11      *iAttr++ = WGL_GREEN_BITS_ARB;
    1.12 @@ -469,12 +467,9 @@
    1.13          *iAttr++ = _this->gl_config.multisamplesamples;
    1.14      }
    1.15  
    1.16 -    if (_this->gl_config.accelerated >= 0) {
    1.17 -        *iAttr++ = WGL_ACCELERATION_ARB;
    1.18 -        *iAttr++ =
    1.19 -            (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB :
    1.20 -             WGL_NO_ACCELERATION_ARB);
    1.21 -    }
    1.22 +    *iAttr++ = WGL_ACCELERATION_ARB;
    1.23 +    *iAttr++ = (_this->gl_config.accelerated ? WGL_FULL_ACCELERATION_ARB :
    1.24 +                                               WGL_NO_ACCELERATION_ARB);
    1.25  
    1.26      *iAttr = 0;
    1.27