Skip to content
Permalink
Browse files

Removed direct dependency on OpenGL (call current_video->glGetString(…

…) instead

 of glGetString() directly)...otherwise we'd have to explicitly link to a
 libGL.  --ryan.
  • Loading branch information
icculus committed Jul 1, 2003
1 parent 413c6fd commit 3aabe60333c98c91ddccb632f41562490ef23f33
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11gl.c
@@ -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. */

0 comments on commit 3aabe60

Please sign in to comment.