summaryrefslogtreecommitdiff
path: root/indra/newview/llsprite.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2023-05-26 06:15:49 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2023-05-26 06:15:49 +0300
commitb9cd6e2e84f9c4161f0151b9f0cee1fcb309d8d7 (patch)
treed92a175355a53fc03d1f50a9aa4eca71787a027c /indra/newview/llsprite.cpp
parent74b8ca575ff7f0cfcfd443e03885542bc5b10c46 (diff)
parent626bbe5032cab1fd2641ad02443e421567e7cce5 (diff)
Merge branch 'xcode-14.3' into DRTVWR-582-maint-U
# Conflicts: # indra/llcommon/llsdserialize.h
Diffstat (limited to 'indra/newview/llsprite.cpp')
-rw-r--r--indra/newview/llsprite.cpp5
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.