Fix a LLVertexBuffer::validateRange call that I hosed up pretty badly.

This commit is contained in:
Shyotl
2014-05-17 03:33:33 -05:00
parent a9c3e13e5e
commit a756943628

View File

@@ -991,7 +991,7 @@ void LLParticlePartition::getGeometry(LLSpatialGroup* group)
if(facep->getGeomCount() > 0)
{
buffer->validateRange(facep->getGeomIndex(), facep->getGeomCount() - 1, facep->getIndicesCount(), 0);
buffer->validateRange(facep->getGeomIndex(), facep->getGeomIndex() + facep->getGeomCount() - 1, facep->getIndicesCount(), facep->getIndicesStart());
}
}