mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-06 04:05:11 +08:00
sdl: vid: fix disabling vsync when loading a level
This commit is contained in:
@@ -390,7 +390,7 @@ void GL_UpdateSwapInterval( void )
|
||||
// disable VSync while level is loading
|
||||
if( cls.state < ca_active )
|
||||
{
|
||||
SDL_GL_SetSwapInterval( gl_vsync->value );
|
||||
SDL_GL_SetSwapInterval( 0 );
|
||||
SetBits( gl_vsync->flags, FCVAR_CHANGED );
|
||||
}
|
||||
else if( FBitSet( gl_vsync->flags, FCVAR_CHANGED ))
|
||||
|
||||
Reference in New Issue
Block a user