Patched to compile on Windows.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 23 Aug 2011 16:47:22 -0400
changeset 5644 f74f1a736dd9
parent 5643 4c286789c40f
child 5646 fe1df351ca3d
Patched to compile on Windows.
src/video/windows/SDL_windowsopengl.c
--- a/src/video/windows/SDL_windowsopengl.c	Tue Aug 23 15:17:44 2011 -0400
+++ b/src/video/windows/SDL_windowsopengl.c	Tue Aug 23 16:47:22 2011 -0400
@@ -466,7 +466,7 @@
         *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);