summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-07-13 02:14:16 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-07-13 02:19:57 +0300
commit66ba1c4c8e840bb5e9da23e2b5772cd24b23714f (patch)
treeda166848027f1051d075c656013a1f7f4004af08 /indra/newview
parent833a82f8593c513b12b59c489760f77d5a806668 (diff)
DRTVWR-542 WIP Fixed Stride
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llmodelpreview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 471b29d850..aa065edf92 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -1869,6 +1869,7 @@ void LLModelPreview::genMeshOptimizerLODs(S32 which_lod, U32 decimation, bool en
num_indices,
face.mPositions,
face.mNumVertices,
+ LLVertexBuffer::sTypeSize[LLVertexBuffer::TYPE_VERTEX],
target_indices,
lod_error_threshold,
&result_code);
@@ -1882,6 +1883,7 @@ void LLModelPreview::genMeshOptimizerLODs(S32 which_lod, U32 decimation, bool en
num_indices,
face.mPositions,
face.mNumVertices,
+ LLVertexBuffer::sTypeSize[LLVertexBuffer::TYPE_VERTEX],
target_indices,
lod_error_threshold,
&result_code);