Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 3aabe60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11gl.c
Expand Up @@ -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. */
Expand Down

0 comments on commit 3aabe60

Please sign in to comment.