diff src/video/x11/SDL_x11gl.c @ 3940:cb04355ffec4 SDL-1.2

Check correct glX extension name for swap_control, but it doesn't look like we ever actually look up the symbol...that's probably a bug. :/
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 22 May 2007 22:15:54 +0000
parents 0e0883cb7137
children 5ec68276e4de
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c	Sun May 13 23:12:46 2007 +0000
+++ b/src/video/x11/SDL_x11gl.c	Tue May 22 22:15:54 2007 +0000
@@ -269,7 +269,7 @@
 	}
 	gl_active = 1;
 
-	if ( !glXExtensionSupported(this, "SGI_swap_control") ) {
+	if ( !glXExtensionSupported(this, "GLX_SGI_swap_control") ) {
 		this->gl_data->glXSwapIntervalSGI = NULL;
 	}
 	if ( !glXExtensionSupported(this, "GLX_MESA_swap_control") ) {