changeset 1757:ac282d472a2e

Yeah, that's what I meant. :)
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 23:13:16 +0000
parents eed7a3f396ce
children 45138f6a2fb5
files src/video/wincommon/SDL_wingl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;