mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
Fix missing 'needsUpdate' check before pushing surface to the list
This commit is contained in:
parent
a6ff0a65d0
commit
88a25e0274
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ struct HWDrawInfo
|
|||
return;
|
||||
}
|
||||
|
||||
if (!surface->portalIndex && !surface->bSky)
|
||||
if (surface->needsUpdate && !surface->portalIndex && !surface->bSky)
|
||||
{
|
||||
VisibleSurfaces.Push(surface);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue