Call V_DoPostProcessor only in software mode (it cancels itself in OGL anyway)

This commit is contained in:
Monster Iestyn committed 2018-10-27 18:52:34 +01:00
1 parent 0e6c5cf342
commit 29d8e34d03
1 file changed
+7 -4
+7 -4
View File
@@ -417,10 +417,13 @@ static void D_Display(void)
}
// Image postprocessing effect
if (postimgtype)
V_DoPostProcessor(0, postimgtype, postimgparam);
if (postimgtype2)
V_DoPostProcessor(1, postimgtype2, postimgparam2);
if (rendermode == render_soft)
{
if (postimgtype)
V_DoPostProcessor(0, postimgtype, postimgparam);
if (postimgtype2)
V_DoPostProcessor(1, postimgtype2, postimgparam2);
}
}
if (lastdraw)