]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
hopefully fix saturation without postprocess
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 25 Jul 2009 08:16:47 +0000 (08:16 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 25 Jul 2009 08:16:47 +0000 (08:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9075 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 3ce06ae7436bea5e4edb37c075047e9ba73b8651..b64f25809a5bf5e14523d1c90af05c9a445fd0e4 100644 (file)
@@ -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;