# HG changeset patch # User Sam Lantinga # Date 1146525196 0 # Node ID ac282d472a2edf71894f4b459ea9c38891497c8c # Parent eed7a3f396ce35370c0107f8212c35c2b94c4e79 Yeah, that's what I meant. :) diff -r eed7a3f396ce -r ac282d472a2e 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;