Decouple vbo validation from LLDrawInfo. Such required vbo's to be initialized before drawinfo creation/modification, which is no longer the case with llvovolume. ('RenderDelayVBUpdate'[although removed in Singu] also fails the same assumption.)
This commit is contained in:
@@ -988,6 +988,11 @@ void LLParticlePartition::getGeometry(LLSpatialGroup* group)
|
||||
//for alpha sorting
|
||||
facep->setDrawInfo(info);
|
||||
}
|
||||
|
||||
if(facep->getGeomCount() > 0)
|
||||
{
|
||||
buffer->validateRange(facep->getGeomIndex(), facep->getGeomCount() - 1, facep->getIndicesCount(), 0);
|
||||
}
|
||||
}
|
||||
|
||||
mFaceList.clear();
|
||||
|
||||
Reference in New Issue
Block a user