sdl: vid: fix disabling vsync when loading a level
This commit is contained in:
parent
3fef353291
commit
29a48cb34c
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ void GL_UpdateSwapInterval( void )
|
||||||
// disable VSync while level is loading
|
// disable VSync while level is loading
|
||||||
if( cls.state < ca_active )
|
if( cls.state < ca_active )
|
||||||
{
|
{
|
||||||
SDL_GL_SetSwapInterval( gl_vsync->value );
|
SDL_GL_SetSwapInterval( 0 );
|
||||||
SetBits( gl_vsync->flags, FCVAR_CHANGED );
|
SetBits( gl_vsync->flags, FCVAR_CHANGED );
|
||||||
}
|
}
|
||||||
else if( FBitSet( gl_vsync->flags, FCVAR_CHANGED ))
|
else if( FBitSet( gl_vsync->flags, FCVAR_CHANGED ))
|
||||||
|
|
Loading…
Add table
Reference in a new issue