Commit ae642743 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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

 of glGetString() directly)...otherwise we'd have to explicitly link to a
 libGL.  --ryan.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40644
parent d7637536
...@@ -240,7 +240,7 @@ static int ExtensionSupported(const char *extension, const char *all_extensions) ...@@ -240,7 +240,7 @@ static int ExtensionSupported(const char *extension, const char *all_extensions)
if (where || *extension == '\0') if (where || *extension == '\0')
return 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 /* It takes a bit of care to be fool-proof about parsing the
* OpenGL extensions string. Don't be fooled by sub-strings, * OpenGL extensions string. Don't be fooled by sub-strings,
* etc. */ * etc. */
......
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