- fix missing fuzz initialization in softpoly

This commit is contained in:
Magnus Norddahl 2018-04-16 01:15:55 +02:00
parent 5b60a29d35
commit 4a3f7e8dd5

View file

@ -127,6 +127,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;