changeset 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 42e83d81224b
children 2409c20399c1
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	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") ) {