Commit c3366d17 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Patched to compile on Windows.

parent 1ea43749
...@@ -466,7 +466,7 @@ WIN_GL_SetupWindow(_THIS, SDL_Window * window) ...@@ -466,7 +466,7 @@ WIN_GL_SetupWindow(_THIS, SDL_Window * window)
*iAttr++ = _this->gl_config.multisamplesamples; *iAttr++ = _this->gl_config.multisamplesamples;
} }
if ( this->gl_config.accelerated >= 0 ) { if (_this->gl_config.accelerated >= 0) {
*iAttr++ = WGL_ACCELERATION_ARB; *iAttr++ = WGL_ACCELERATION_ARB;
*iAttr++ = (_this->gl_config.accelerated ? WGL_FULL_ACCELERATION_ARB : *iAttr++ = (_this->gl_config.accelerated ? WGL_FULL_ACCELERATION_ARB :
WGL_NO_ACCELERATION_ARB); WGL_NO_ACCELERATION_ARB);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment