Check correct glX extension name for swap_control, but it doesn't look like SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Tue, 22 May 2007 22:15:54 +0000
branchSDL-1.2
changeset 3940 cb04355ffec4
parent 3939 42e83d81224b
child 3941 2409c20399c1
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. :/
src/video/x11/SDL_x11gl.c
--- 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") ) {