changeset 643:564716cfb502

Removed direct dependency on OpenGL (call current_video->glGetString() instead of glGetString() directly)...otherwise we'd have to explicitly link to a libGL. --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 01 Jul 2003 16:35:54 +0000
parents de622b7108bf
children 594422ab8f9f
files src/video/x11/SDL_x11gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c	Tue Jul 01 01:18:27 2003 +0000
+++ b/src/video/x11/SDL_x11gl.c	Tue Jul 01 16:35:54 2003 +0000
@@ -240,7 +240,7 @@
 	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. */