diff options
author | nat-goodspeed <nat@lindenlab.com> | 2023-08-17 13:05:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 13:05:14 -0400 |
commit | 9d981c72f8d098baeae9e9fa1e3c4737f957bbe2 (patch) | |
tree | e041df46ca357f3071b4c9c7a0799090c45669a6 /indra/newview/llsprite.cpp | |
parent | e06cdc329a83b4c1e52eaf39b4b030763b7d8568 (diff) | |
parent | 6cf6f81ae865d4e15b715a93408c7970b6936ce8 (diff) |
Merge pull request #332 from secondlife/DRTVWR-588-monterey
Remove unused counters that cause fatal warnings
Diffstat (limited to 'indra/newview/llsprite.cpp')
-rw-r--r-- | indra/newview/llsprite.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llsprite.cpp b/indra/newview/llsprite.cpp index c3eb70f850..fd41cdf0d7 100644 --- a/indra/newview/llsprite.cpp +++ b/indra/newview/llsprite.cpp @@ -79,7 +79,6 @@ void LLSprite::updateFace(LLFace &face) // First, figure out how many vertices/indices we need. U32 num_vertices, num_indices; - U32 vertex_count = 0; // Get the total number of vertices and indices if (mFollow) @@ -203,25 +202,21 @@ void LLSprite::updateFace(LLFace &face) *verticesp = mC; tex_coordsp++; verticesp++; - vertex_count++; *tex_coordsp = LLVector2(0.f, 1.f); *verticesp = mB; tex_coordsp++; verticesp++; - vertex_count++; *tex_coordsp = LLVector2(1.f, 1.f); *verticesp = mA; tex_coordsp++; verticesp++; - vertex_count++; *tex_coordsp = LLVector2(1.f, 0.0f); *verticesp = mD; tex_coordsp++; verticesp++; - vertex_count++; // Generate indices, since they're easy. // Just a series of quads. |