Yeah, that's what I meant. :)
authorSam Lantinga <slouken@libsdl.org>
Mon, 01 May 2006 23:13:16 +0000
changeset 1757 ac282d472a2e
parent 1756 eed7a3f396ce
child 1758 45138f6a2fb5
Yeah, that's what I meant. :)
src/video/wincommon/SDL_wingl.c
--- a/src/video/wincommon/SDL_wingl.c	Mon May 01 11:07:04 2006 +0000
+++ b/src/video/wincommon/SDL_wingl.c	Mon May 01 23:13:16 2006 +0000
@@ -341,7 +341,7 @@
 	 * on it, it will not be removed.  strstr should be safe here.*/
 	glGetStringFunc = WIN_GL_GetProcAddress(this, "glGetString");
 	if ( glGetStringFunc ) {
-		wglext = (const char *)this->glGetString(GL_EXTENSIONS);
+		wglext = (const char *)glGetStringFunc(GL_EXTENSIONS);
 	} else {
 		/* Uh oh, something is seriously wrong here... */
 		wglext = NULL;