Disable some profiler calls that are frequent enough to significantly affect performance
This was SVN commit r8171.
This commit is contained in:
parent
ede71ea791
commit
6d82bfaabf
@ -288,7 +288,7 @@ void CModel::ValidatePosition()
|
||||
|
||||
if (m_Anim && m_BoneMatrices)
|
||||
{
|
||||
PROFILE( "generating bone matrices" );
|
||||
// PROFILE( "generating bone matrices" );
|
||||
|
||||
debug_assert(m_pModelDef->GetNumBones() == m_Anim->m_AnimDef->GetNumKeys());
|
||||
|
||||
|
@ -1395,7 +1395,7 @@ void CRenderer::Submit(SOverlayLine* overlay)
|
||||
void CRenderer::SubmitNonRecursive(CModel* model)
|
||||
{
|
||||
if (model->GetFlags() & MODELFLAG_CASTSHADOWS) {
|
||||
PROFILE( "updating shadow bounds" );
|
||||
// PROFILE( "updating shadow bounds" );
|
||||
m->shadow->AddShadowedBound(model->GetBounds());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user