1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-01 14:39:42 +00:00

Fix another compiler warning

This commit is contained in:
AnyOldName3 2018-03-03 02:03:16 +00:00
parent 3bed2a7b01
commit b553b58de5

View file

@ -1015,6 +1015,7 @@ void MWShadowTechnique::cull(osgUtil::CullVisitor& cv)
} }
#if 0
double splitPoint = 0.0; double splitPoint = 0.0;
if (numShadowMapsPerLight>1) if (numShadowMapsPerLight>1)
@ -1049,6 +1050,7 @@ void MWShadowTechnique::cull(osgUtil::CullVisitor& cv)
OSG_INFO<<" n="<<n<<", f="<<f<<", sqrt_nf="<<sqrt_nf<<" mid="<<mid<<std::endl; OSG_INFO<<" n="<<n<<", f="<<f<<", sqrt_nf="<<sqrt_nf<<" mid="<<mid<<std::endl;
} }
} }
#endif
// 4. For each light/shadow map // 4. For each light/shadow map
for (unsigned int sm_i=0; sm_i<numShadowMapsPerLight; ++sm_i) for (unsigned int sm_i=0; sm_i<numShadowMapsPerLight; ++sm_i)