mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-12 03:15:29 +01:00
Do not spam in console if vsync not availiable
This commit is contained in:
parent
7ad7af76dd
commit
aed53c4fda
@ -400,8 +400,7 @@ void GL_UpdateSwapInterval( void )
|
||||
// disable VSync while level is loading
|
||||
if( cls.state < ca_active )
|
||||
{
|
||||
if( SDL_GL_SetSwapInterval( gl_vsync->value ) )
|
||||
Con_Reportf( S_ERROR "SDL_GL_SetSwapInterval: %s\n", SDL_GetError( ) );
|
||||
SDL_GL_SetSwapInterval( gl_vsync->value );
|
||||
SetBits( gl_vsync->flags, FCVAR_CHANGED );
|
||||
}
|
||||
else if( FBitSet( gl_vsync->flags, FCVAR_CHANGED ))
|
||||
|
Loading…
Reference in New Issue
Block a user