From: divverent Date: Sat, 25 Jul 2009 08:16:47 +0000 (+0000) Subject: hopefully fix saturation without postprocess X-Git-Tag: xonotic-v0.1.0preview~1554 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=75256afad94a4f5789127a91db85674afeb9f8cf;p=xonotic%2Fdarkplaces.git hopefully fix saturation without postprocess git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9075 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 3ce06ae7..b64f2580 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -3356,7 +3356,7 @@ void R_Bloom_StartFrame(void) Cvar_SetValueQuick(&r_damageblur, 0); } - if (!(r_glsl.integer && (r_glsl_postprocess.integer || (v_glslgamma.integer && !vid_gammatables_trivial))) && !r_bloom.integer && !r_hdr.integer && r_motionblur.value <= 0 && r_damageblur.value <= 0) + if (!(r_glsl.integer && (r_glsl_postprocess.integer || r_glsl_saturation.value != 1 || (v_glslgamma.integer && !vid_gammatables_trivial))) && !r_bloom.integer && !r_hdr.integer && r_motionblur.value <= 0 && r_damageblur.value <= 0) screentexturewidth = screentextureheight = 0; if (!r_hdr.integer && !r_bloom.integer) bloomtexturewidth = bloomtextureheight = 0;