aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvotree.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvotree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llvotree.cpp b/linden/indra/newview/llvotree.cpp
index a55afe1..993c2a0 100644
--- a/linden/indra/newview/llvotree.cpp
+++ b/linden/indra/newview/llvotree.cpp
@@ -821,7 +821,7 @@ U32 LLVOTree::drawBranchPipeline(LLMatrix4& matrix, U16* indicesp, S32 trunk_LOD
821 821
822 glLoadMatrixf((F32*) scale_mat.mMatrix); 822 glLoadMatrixf((F32*) scale_mat.mMatrix);
823 glDrawElements(GL_TRIANGLES, sLODIndexCount[trunk_LOD], GL_UNSIGNED_SHORT, indicesp + sLODIndexOffset[trunk_LOD]); 823 glDrawElements(GL_TRIANGLES, sLODIndexCount[trunk_LOD], GL_UNSIGNED_SHORT, indicesp + sLODIndexOffset[trunk_LOD]);
824 824 gPipeline.addTrianglesDrawn(LEAF_INDICES/3);
825 stop_glerror(); 825 stop_glerror();
826 ret += sLODIndexCount[trunk_LOD]; 826 ret += sLODIndexCount[trunk_LOD];
827 } 827 }
@@ -871,7 +871,7 @@ U32 LLVOTree::drawBranchPipeline(LLMatrix4& matrix, U16* indicesp, S32 trunk_LOD
871 871
872 glLoadMatrixf((F32*) scale_mat.mMatrix); 872 glLoadMatrixf((F32*) scale_mat.mMatrix);
873 glDrawElements(GL_TRIANGLES, LEAF_INDICES, GL_UNSIGNED_SHORT, indicesp); 873 glDrawElements(GL_TRIANGLES, LEAF_INDICES, GL_UNSIGNED_SHORT, indicesp);
874 874 gPipeline.addTrianglesDrawn(LEAF_INDICES/3);
875 stop_glerror(); 875 stop_glerror();
876 ret += LEAF_INDICES; 876 ret += LEAF_INDICES;
877 } 877 }
@@ -896,7 +896,7 @@ U32 LLVOTree::drawBranchPipeline(LLMatrix4& matrix, U16* indicesp, S32 trunk_LOD
896 896
897 glLoadMatrixf((F32*) scale_mat.mMatrix); 897 glLoadMatrixf((F32*) scale_mat.mMatrix);
898 glDrawElements(GL_TRIANGLES, LEAF_INDICES, GL_UNSIGNED_SHORT, indicesp); 898 glDrawElements(GL_TRIANGLES, LEAF_INDICES, GL_UNSIGNED_SHORT, indicesp);
899 899 gPipeline.addTrianglesDrawn(LEAF_INDICES/3);
900 stop_glerror(); 900 stop_glerror();
901 ret += LEAF_INDICES; 901 ret += LEAF_INDICES;
902 902