|
|
@ -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 )) |
|
|
|