diff options
author | Callum Linden <callum@lindenlab.com> | 2022-08-29 10:14:06 -0700 |
---|---|---|
committer | Callum Linden <callum@lindenlab.com> | 2022-08-29 10:14:06 -0700 |
commit | a3f7f7d8c08e19d338911e107707f756469716bc (patch) | |
tree | c86773c81cbcb03300132eb684134b878aeca357 /indra/newview/llvopartgroup.cpp | |
parent | 35de5fc912c908fb1c3c5257f28e72ffebe796c4 (diff) | |
parent | 592abc460c96b63b1b1e0d15914f7b64a0c88038 (diff) |
Merge remote-tracking branch 'origin/more-c++17' into DRTVWR-568
Diffstat (limited to 'indra/newview/llvopartgroup.cpp')
-rw-r--r-- | indra/newview/llvopartgroup.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llvopartgroup.cpp b/indra/newview/llvopartgroup.cpp index 068e8a131d..51cf5f20c6 100644 --- a/indra/newview/llvopartgroup.cpp +++ b/indra/newview/llvopartgroup.cpp @@ -845,9 +845,6 @@ void LLParticlePartition::getGeometry(LLSpatialGroup* group) std::sort(mFaceList.begin(), mFaceList.end(), LLFace::CompareDistanceGreater()); - U32 index_count = 0; - U32 vertex_count = 0; - group->clearDrawMap(); LLVertexBuffer* buffer = group->mVertexBuffer; @@ -912,10 +909,6 @@ void LLParticlePartition::getGeometry(LLSpatialGroup* group) llassert(facep->getGeomCount() == 4); llassert(facep->getIndicesCount() == 6); - - vertex_count += facep->getGeomCount(); - index_count += facep->getIndicesCount(); - S32 idx = draw_vec.size()-1; BOOL fullbright = facep->isState(LLFace::FULLBRIGHT); |