Fix missing 'needsUpdate' check before pushing surface to the list

This commit is contained in:
RaveYard 2023-09-16 01:53:28 +02:00 committed by Christoph Oelckers
parent a6ff0a65d0
commit 88a25e0274

View file

@ -207,7 +207,7 @@ struct HWDrawInfo
return;
}
if (!surface->portalIndex && !surface->bSky)
if (surface->needsUpdate && !surface->portalIndex && !surface->bSky)
{
VisibleSurfaces.Push(surface);
}