src/video/x11/SDL_x11gl.c
branchSDL-1.2
changeset 3940 cb04355ffec4
parent 3905 0e0883cb7137
child 4023 5ec68276e4de
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;