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 3940cb04355ffec4
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
     1.1 --- a/src/video/x11/SDL_x11gl.c	Sun May 13 23:12:46 2007 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Tue May 22 22:15:54 2007 +0000
     1.3 @@ -269,7 +269,7 @@
     1.4  	}
     1.5  	gl_active = 1;
     1.6  
     1.7 -	if ( !glXExtensionSupported(this, "SGI_swap_control") ) {
     1.8 +	if ( !glXExtensionSupported(this, "GLX_SGI_swap_control") ) {
     1.9  		this->gl_data->glXSwapIntervalSGI = NULL;
    1.10  	}
    1.11  	if ( !glXExtensionSupported(this, "GLX_MESA_swap_control") ) {