mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Call V_DoPostProcessor only in software mode (it cancels itself in OGL anyway)
This commit is contained in:
parent
2df7d8c4aa
commit
795b3aa552
1 changed files with 7 additions and 4 deletions
11
src/d_main.c
11
src/d_main.c
|
|
@ -384,10 +384,13 @@ static void D_Display(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Image postprocessing effect
|
// Image postprocessing effect
|
||||||
if (postimgtype)
|
if (rendermode == render_soft)
|
||||||
V_DoPostProcessor(0, postimgtype, postimgparam);
|
{
|
||||||
if (postimgtype2)
|
if (postimgtype)
|
||||||
V_DoPostProcessor(1, postimgtype2, postimgparam2);
|
V_DoPostProcessor(0, postimgtype, postimgparam);
|
||||||
|
if (postimgtype2)
|
||||||
|
V_DoPostProcessor(1, postimgtype2, postimgparam2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lastdraw)
|
if (lastdraw)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue