Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Patched to compile on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 23, 2011
1 parent 3c36587 commit baab24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsopengl.c
Expand Up @@ -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);
Expand Down

0 comments on commit baab24f

Please sign in to comment.