diff src/video/wincommon/SDL_wingl.c @ 1757:ac282d472a2e

Yeah, that's what I meant. :)
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 23:13:16 +0000
parents c67921b517c3
children 290b5baf2fca
line wrap: on
line diff
--- 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;