This commit is contained in:
Alug committed 2024-09-07 20:09:49 +02:00
1 parent f54d2fb0fe
commit 863abe86ca
1 file changed
+4 -2
+4 -2
View File
@@ -5470,8 +5470,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
@@ -5484,6 +5482,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:
@@ -5519,6 +5519,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);