- fix missing fuzz initialization in softpoly

(cherry picked from commit 4a3f7e8dd5)
This commit is contained in:
Magnus Norddahl 2018-04-16 01:15:55 +02:00 committed by drfrag666
parent 153ce9e118
commit 3c382553ce

View file

@ -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;