From 3aabe60333c98c91ddccb632f41562490ef23f33 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 1 Jul 2003 16:35:54 +0000 Subject: [PATCH] Removed direct dependency on OpenGL (call current_video->glGetString() instead of glGetString() directly)...otherwise we'd have to explicitly link to a libGL. --ryan. --- src/video/x11/SDL_x11gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11gl.c b/src/video/x11/SDL_x11gl.c index c49aa1203..c738df337 100644 --- a/src/video/x11/SDL_x11gl.c +++ b/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. */