1
0
forked from 0ad/0ad

Disable some profiler calls that are frequent enough to significantly affect performance

This was SVN commit r8171.
This commit is contained in:
Ykkrosh 2010-09-24 21:33:07 +00:00
parent ede71ea791
commit 6d82bfaabf
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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());
}