From 4386f56cdf9e6bb7ae686ffae441890a4a435b9b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 22 May 2007 22:15:54 +0000 Subject: [PATCH] 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. :/ --HG-- branch : SDL-1.2 --- 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 1d767e17f..7e89d1707 100644 --- a/src/video/x11/SDL_x11gl.c +++ b/src/video/x11/SDL_x11gl.c @@ -269,7 +269,7 @@ int X11_GL_CreateContext(_THIS) } 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") ) {