Early culling pt1
This commit is contained in:
@@ -2038,20 +2038,23 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (LLDrawable::face_list_t::iterator iter = drawablep->mFaces.begin();
|
if(!drawablep->getVOVolume())
|
||||||
iter != drawablep->mFaces.end(); iter++)
|
|
||||||
{
|
{
|
||||||
LLFace* facep = *iter;
|
for (LLDrawable::face_list_t::iterator iter = drawablep->mFaces.begin();
|
||||||
|
iter != drawablep->mFaces.end(); iter++)
|
||||||
if (facep->hasGeometry())
|
|
||||||
{
|
{
|
||||||
if (facep->getPool())
|
LLFace* facep = *iter;
|
||||||
|
|
||||||
|
if (facep->hasGeometry())
|
||||||
{
|
{
|
||||||
facep->getPool()->enqueue(facep);
|
if (facep->getPool())
|
||||||
}
|
{
|
||||||
else
|
facep->getPool()->enqueue(facep);
|
||||||
{
|
}
|
||||||
break;
|
else
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user