Browse Source

engine: gamma: validate gamma cvars in local games too

master
Alibek Omarov 11 months ago
parent
commit
a3acb1c85b
  1. 3
      engine/client/gamma.c

3
engine/client/gamma.c

@ -82,9 +82,6 @@ static void BuildGammaTable( const float gamma, const float brightness, const fl @@ -82,9 +82,6 @@ static void BuildGammaTable( const float gamma, const float brightness, const fl
static void V_ValidateGammaCvars( void )
{
if( Host_IsLocalGame( ))
return;
if( v_gamma.value < 1.8f )
Cvar_DirectSet( &v_gamma, "1.8" );
else if( v_gamma.value > 3.0f )

Loading…
Cancel
Save