Early culling pt1
This commit is contained in:
@@ -2038,6 +2038,8 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!drawablep->getVOVolume())
|
||||||
|
{
|
||||||
for (LLDrawable::face_list_t::iterator iter = drawablep->mFaces.begin();
|
for (LLDrawable::face_list_t::iterator iter = drawablep->mFaces.begin();
|
||||||
iter != drawablep->mFaces.end(); iter++)
|
iter != drawablep->mFaces.end(); iter++)
|
||||||
{
|
{
|
||||||
@@ -2055,6 +2057,7 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mNumVisibleFaces += drawablep->getNumFaces();
|
mNumVisibleFaces += drawablep->getNumFaces();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user