]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
fix bug with r_glsl 1;r_hdr 1;r_bloom 0 that made the screen white
[xonotic/darkplaces.git] / gl_rmain.c
index fc3ed27620245e9611747c24efdd2682d543002f..b3e82aad84e588f4c0c4b9dc2e3e66b42f84de63 100644 (file)
@@ -3076,7 +3076,7 @@ void R_Bloom_StartFrame(void)
                Cvar_SetValueQuick(&r_bloom, 0);
        }
 
-       if (!(r_glsl.integer && r_glsl_postprocess.integer) && !r_bloom.integer)
+       if (!(r_glsl.integer && (r_glsl_postprocess.integer || r_bloom.integer || r_hdr.integer)) && !r_bloom.integer)
                screentexturewidth = screentextureheight = 0;
        if (!r_hdr.integer && !r_bloom.integer)
                bloomtexturewidth = bloomtextureheight = 0;