Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3939:42e83d81224b | 3940:cb04355ffec4 |
---|---|
267 if ( X11_GL_MakeCurrent(this) < 0 ) { | 267 if ( X11_GL_MakeCurrent(this) < 0 ) { |
268 return(-1); | 268 return(-1); |
269 } | 269 } |
270 gl_active = 1; | 270 gl_active = 1; |
271 | 271 |
272 if ( !glXExtensionSupported(this, "SGI_swap_control") ) { | 272 if ( !glXExtensionSupported(this, "GLX_SGI_swap_control") ) { |
273 this->gl_data->glXSwapIntervalSGI = NULL; | 273 this->gl_data->glXSwapIntervalSGI = NULL; |
274 } | 274 } |
275 if ( !glXExtensionSupported(this, "GLX_MESA_swap_control") ) { | 275 if ( !glXExtensionSupported(this, "GLX_MESA_swap_control") ) { |
276 this->gl_data->glXSwapIntervalMESA = NULL; | 276 this->gl_data->glXSwapIntervalMESA = NULL; |
277 this->gl_data->glXGetSwapIntervalMESA = NULL; | 277 this->gl_data->glXGetSwapIntervalMESA = NULL; |