- 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

@ -50,6 +50,7 @@ void PolyDrawSectorPortal::Render(int portalDepth)
PortalViewpoint.StencilValue = StencilValue;
PortalViewpoint.PortalPlane = PolyClipPlane(0.0f, 0.0f, 0.0f, 1.0f);
PortalViewpoint.PortalDepth = portalDepth;
PortalViewpoint.PortalEnterSector = Portal->mDestination;
PolyRenderer::Instance()->Scene.Render(&PortalViewpoint);