summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-21 18:46:06 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-21 18:46:06 +0300
commita448846ca3bcaf73da428c5ef28d3f130bf128fc (patch)
treeab09d0e4c6ffa69c4be35fe64690280cedfa2751 /indra/newview
parent20e05a5c11ddf64d437fb44ecd548920bd8a3163 (diff)
SL-16226 Crash at genMeshOptimizerPerModel
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llmodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index b17aa960ce..4f759446f1 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -1911,7 +1911,7 @@ F32 LLModelPreview::genMeshOptimizerPerModel(LLModel *base_model, LLModel *targe
ll_aligned_free<64>(combined_positions);
ll_aligned_free<64>(buffer_positions);
ll_aligned_free_32(output_indices);
- ll_aligned_free_32(buffer_indices);
+ ll_aligned_free_16(buffer_indices);
ll_aligned_free_32(combined_indices);
if (new_indices < 3)