mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- fix missing fuzz initialization in softpoly
(cherry picked from commit 4a3f7e8dd5
)
This commit is contained in:
parent
153ce9e118
commit
3c382553ce
1 changed files with 7 additions and 0 deletions
|
@ -130,6 +130,13 @@ void PolyRenderer::RenderActorView(AActor *actor, bool dontmaplines)
|
|||
P_FindParticleSubsectors();
|
||||
PO_LinkToSubsectors();
|
||||
|
||||
static bool firstcall = true;
|
||||
if (firstcall)
|
||||
{
|
||||
swrenderer::R_InitFuzzTable(RenderTarget->GetPitch());
|
||||
firstcall = false;
|
||||
}
|
||||
|
||||
swrenderer::R_UpdateFuzzPosFrameStart();
|
||||
|
||||
if (APART(R_OldBlend)) NormalLight.Maps = realcolormaps.Maps;
|
||||
|
|
Loading…
Reference in a new issue