mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
fix postprocessor
This commit is contained in:
parent
08efec4cf3
commit
76fa343ea1
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…
Add table
Reference in a new issue