- slightly improve sector portal handling in softpoly

This commit is contained in:
Magnus Norddahl 2018-04-23 01:03:37 +02:00
commit 2aee68d215
5 changed files with 15 additions and 3 deletions

View file

@ -59,7 +59,7 @@ void RenderPolyScene::Render(PolyPortalViewpoint *viewpoint)
CurrentViewpoint->LinePortalsStart = thread->LinePortals.size();
PolyCullCycles.Clock();
Cull.CullScene(CurrentViewpoint->PortalPlane);
Cull.CullScene(CurrentViewpoint->PortalPlane, CurrentViewpoint->PortalEnterSector);
PolyCullCycles.Unclock();
RenderSectors();