Removed direct dependency on OpenGL (call current_video->glGetString() instead

of glGetString() directly)...otherwise we'd have to explicitly link to a
 libGL.  --ryan.
This commit is contained in:
Ryan C. Gordon
2003-07-01 16:35:54 +00:00
parent d14ff3a635
commit 15e54d83f1

View File

@@ -240,7 +240,7 @@ static int ExtensionSupported(const char *extension, const char *all_extensions)
if (where || *extension == '\0')
return 0;
extensions = glGetString(GL_EXTENSIONS);
extensions = current_video->glGetString(GL_EXTENSIONS);
/* It takes a bit of care to be fool-proof about parsing the
* OpenGL extensions string. Don't be fooled by sub-strings,
* etc. */