Skip to content

Commit 2b12176

Browse files
committed
CRender: Update r2_R_lights implementation.
1 parent 3f72d7f commit 2b12176

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Layers/xrRenderPC_GL/r2_R_lights.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void CRender::render_lights (light_Package& LP)
7878
{
7979
// if (has_spot_shadowed)
8080
xr_vector<light*> L_spot_s;
81-
stats.s_used ++;
81+
Stats.s_used ++;
8282

8383
// generate spot shadowmap
8484
Target->phase_smap_spot_clear ();
@@ -102,7 +102,7 @@ void CRender::render_lights (light_Package& LP)
102102
bool bNormal = mapNormalPasses[0][0].size() || mapMatrixPasses[0][0].size();
103103
bool bSpecial = mapNormalPasses[1][0].size() || mapMatrixPasses[1][0].size() || mapSorted.size();
104104
if ( bNormal || bSpecial) {
105-
stats.s_merged ++;
105+
Stats.s_merged ++;
106106
L_spot_s.push_back (L);
107107
Target->phase_smap_spot (L);
108108
RCache.set_xform_world (Fidentity);
@@ -117,7 +117,7 @@ void CRender::render_lights (light_Package& LP)
117117
r_dsgraph_render_sorted ( ); // strict-sorted geoms
118118
}
119119
} else {
120-
stats.s_finalclip ++;
120+
Stats.s_finalclip ++;
121121
}
122122
L->svis.end ();
123123
r_pmask (true,false);

0 commit comments

Comments
 (0)