Skip to content

Commit

Permalink
- fix missing fuzz initialization in softpoly
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Apr 15, 2018
1 parent 5b60a29 commit 4a3f7e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/polyrenderer/poly_renderer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 4a3f7e8

Please sign in to comment.