Yeah, that's what I meant. :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401716
This commit is contained in:
Sam Lantinga 2006-05-01 23:13:16 +00:00
parent 0526b1fc8a
commit 083bef0d9c

View file

@ -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;