mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- fix missing fuzz initialization in softpoly
This commit is contained in:
parent
5b60a29d35
commit
4a3f7e8dd5
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue