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
This commit is contained in:
parent
d7637536ba
commit
ae6427430d
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue