From b64a04f5cf2bfb1aa98dd7956717321ab0535251 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 1 May 2006 23:13:16 +0000 Subject: [PATCH] Yeah, that's what I meant. :) --- src/video/wincommon/SDL_wingl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wincommon/SDL_wingl.c b/src/video/wincommon/SDL_wingl.c index e45ef7f88..d54d12f0f 100644 --- a/src/video/wincommon/SDL_wingl.c +++ b/src/video/wincommon/SDL_wingl.c @@ -341,7 +341,7 @@ int WIN_GL_SetupWindow(_THIS) * 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;