mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
sdl: vid: fix disabling vsync when loading a level
This commit is contained in:
parent
3fef353291
commit
29a48cb34c
@ -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 ))
|
||||
|
Loading…
x
Reference in New Issue
Block a user