Commit 083bef0d authored by Sam Lantinga's avatar Sam Lantinga

Yeah, that's what I meant. :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401716
parent 0526b1fc
...@@ -341,7 +341,7 @@ int WIN_GL_SetupWindow(_THIS) ...@@ -341,7 +341,7 @@ int WIN_GL_SetupWindow(_THIS)
* on it, it will not be removed. strstr should be safe here.*/ * on it, it will not be removed. strstr should be safe here.*/
glGetStringFunc = WIN_GL_GetProcAddress(this, "glGetString"); glGetStringFunc = WIN_GL_GetProcAddress(this, "glGetString");
if ( glGetStringFunc ) { if ( glGetStringFunc ) {
wglext = (const char *)this->glGetString(GL_EXTENSIONS); wglext = (const char *)glGetStringFunc(GL_EXTENSIONS);
} else { } else {
/* Uh oh, something is seriously wrong here... */ /* Uh oh, something is seriously wrong here... */
wglext = NULL; wglext = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment