Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32opengl.c @ 3570:7812d3e9564e
OpenGL hardware acceleration defaults on
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 15 Dec 2009 20:36:31 +0000 |
parents | f43c8f688f77 |
children | 19691cebb866 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32opengl.c Tue Dec 15 20:14:50 2009 +0000 +++ b/src/video/win32/SDL_win32opengl.c Tue Dec 15 20:36:31 2009 +0000 @@ -469,12 +469,9 @@ *iAttr++ = _this->gl_config.multisamplesamples; } - if (_this->gl_config.accelerated >= 0) { - *iAttr++ = WGL_ACCELERATION_ARB; - *iAttr++ = - (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB : - WGL_NO_ACCELERATION_ARB); - } + *iAttr++ = WGL_ACCELERATION_ARB; + *iAttr++ = (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB : + WGL_NO_ACCELERATION_ARB); *iAttr = 0;