summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-25 12:10:03 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-25 12:10:03 +0100
commitccdefb25aca3c6e940a471b28146cc62a6018f01 (patch)
tree27d864cc3985157d4a5c55eacb4ba4dccf1274dc
parente6fe3b1f1aa888e4594c89154ef895b3cf5498e9 (diff)
fix(?) another bug spotted by gcc.
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index db3c5cca33..1571bab7de 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -371,7 +371,7 @@ void LLFace::setSize(S32 num_vertices, S32 num_indices, bool align)
if (align)
{
//allocate vertices in blocks of 4 for alignment
- S32 num_vertices = (num_vertices + 0x3) & ~0x3;
+ num_vertices = (num_vertices + 0x3) & ~0x3;
}
if (mGeomCount != num_vertices ||