This commit is contained in:
Alug committed 2024-09-07 20:09:36 +02:00
1 parent b0b7bf5e14
commit 364d2a042b
1 file changed
+4 -2
+4 -2
View File
@@ -5459,8 +5459,6 @@ static void HWR_RenderViewpoint(gl_portal_t *rootportal, const float fpov, playe
portallist.base = portallist.cap = NULL;
const boolean skybox = (skyboxmo[0] && cv_skybox.value);
validcount++;
if (cv_grportals.value && gr_maphasportals && allow_portals && stencil_level < cv_maxportals.value) // if recursion limit is not reached
{
// search for portals in current frame
@@ -5473,6 +5471,8 @@ static void HWR_RenderViewpoint(gl_portal_t *rootportal, const float fpov, playe
else
HWR_PortalClipping(rootportal);
validcount++;
HWR_RenderBSPNode((INT32)numnodes-1);// no actual rendering happens
// for each found portal:
@@ -5508,6 +5508,8 @@ static void HWR_RenderViewpoint(gl_portal_t *rootportal, const float fpov, playe
// Set transform.
HWD.pfnSetTransform(&atransform);
validcount++;
ps_numbspcalls.value.i = 0;
ps_numpolyobjects.value.i = 0;
PS_START_TIMING(ps_bsptime);