From e1f1e63cc9945194aef96783a549925096e7c4ef Mon Sep 17 00:00:00 2001 From: Jaime Passos Date: Thu, 21 Mar 2019 18:33:03 -0300 Subject: [PATCH] fix postprocessor --- src/hardware/hw_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index c2636353..07b77a47 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -5802,6 +5802,8 @@ void HWR_DoPostProcessor(player_t *player) { postimg_t *type; + HWD.pfnUnSetShader(); + if (splitscreen && player == &players[secondarydisplayplayer]) type = &postimgtype2; else @@ -5829,8 +5831,7 @@ void HWR_DoPostProcessor(player_t *player) Surf.PolyColor.s.alpha = 0xc0; // match software mode - HWD.pfnSetShader(0); // jimita - HWD.pfnDrawPolygon(&Surf, v, 4, PF_Modulated|PF_Additive|PF_NoTexture|PF_NoDepthTest); + HWD.pfnDrawPolygon(&Surf, v, 4, PF_Modulated|PF_Translucent|PF_NoTexture|PF_NoDepthTest); } // Capture the screen for intermission and screen waving