Patched to compile on Windows.

This commit is contained in:
Ryan C. Gordon 2011-08-23 16:47:22 -04:00
parent 1ea43749bd
commit c3366d1756

View file

@ -466,7 +466,7 @@ WIN_GL_SetupWindow(_THIS, SDL_Window * window)
*iAttr++ = _this->gl_config.multisamplesamples;
}
if ( this->gl_config.accelerated >= 0 ) {
if (_this->gl_config.accelerated >= 0) {
*iAttr++ = WGL_ACCELERATION_ARB;
*iAttr++ = (_this->gl_config.accelerated ? WGL_FULL_ACCELERATION_ARB :
WGL_NO_ACCELERATION_ARB);