diff options
author | Dave Parks <davep@lindenlab.com> | 2010-02-10 14:48:23 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-02-10 14:48:23 -0600 |
commit | 38272c440dcdd3ade1d6aad97d94d8647558089c (patch) | |
tree | 79f9d479893aeaf001b0a42730b596d9ef75837e /indra/newview | |
parent | a4ef5e2b0d4e36aa98f2e4074f4ddd4cad3d3106 (diff) | |
parent | 1f24e2795608ed90a108366b3332f57c375211cc (diff) |
merge
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 0a9976f511..4822c303bf 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1081,14 +1081,14 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, mVertexBuffer->getIndexStrider(indicesp, mIndicesIndex); if (LLPipeline::sUseTriStrips) { - for (U16 i = 0; i < num_indices; i++) + for (U32 i = 0; i < num_indices; i++) { *indicesp++ = vf.mTriStrip[i] + index_offset; } } else { - for (U16 i = 0; i < num_indices; i++) + for (U32 i = 0; i < num_indices; i++) { *indicesp++ = vf.mIndices[i] + index_offset; } |