mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 12:50:44 +00:00
fix postprocessor
This commit is contained in:
parent
76967e46bb
commit
e1f1e63cc9
1 changed files with 3 additions and 2 deletions
|
@ -5802,6 +5802,8 @@ void HWR_DoPostProcessor(player_t *player)
|
||||||
{
|
{
|
||||||
postimg_t *type;
|
postimg_t *type;
|
||||||
|
|
||||||
|
HWD.pfnUnSetShader();
|
||||||
|
|
||||||
if (splitscreen && player == &players[secondarydisplayplayer])
|
if (splitscreen && player == &players[secondarydisplayplayer])
|
||||||
type = &postimgtype2;
|
type = &postimgtype2;
|
||||||
else
|
else
|
||||||
|
@ -5829,8 +5831,7 @@ void HWR_DoPostProcessor(player_t *player)
|
||||||
|
|
||||||
Surf.PolyColor.s.alpha = 0xc0; // match software mode
|
Surf.PolyColor.s.alpha = 0xc0; // match software mode
|
||||||
|
|
||||||
HWD.pfnSetShader(0); // jimita
|
HWD.pfnDrawPolygon(&Surf, v, 4, PF_Modulated|PF_Translucent|PF_NoTexture|PF_NoDepthTest);
|
||||||
HWD.pfnDrawPolygon(&Surf, v, 4, PF_Modulated|PF_Additive|PF_NoTexture|PF_NoDepthTest);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Capture the screen for intermission and screen waving
|
// Capture the screen for intermission and screen waving
|
||||||
|
|
Loading…
Reference in a new issue