Yeah, that's what I meant. :)

This commit is contained in:
Sam Lantinga
2006-05-01 23:13:16 +00:00
parent db58f6d9de
commit b75afc4eed

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;