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:
parent
3bed2a7b01
commit
b553b58de5
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue