mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 09:06:29 -05:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user