summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-01-25 16:56:45 -0800
committerCosmic Linden <cosmic@lindenlab.com>2023-01-25 16:56:45 -0800
commit2f1158c06f0d30ae8c5f228e3ea106a01825af3b (patch)
treef0b5fd2d11519a31c59e963a8098c35cd631196e /indra/newview
parent2aaa15fef15243e6b38f46426d8ebb355ccfb807 (diff)
SL-19081: Fix assert when uploading texture
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterimagepreview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimagepreview.cpp b/indra/newview/llfloaterimagepreview.cpp
index b2be6a925e..6b0ba44624 100644
--- a/indra/newview/llfloaterimagepreview.cpp
+++ b/indra/newview/llfloaterimagepreview.cpp
@@ -838,6 +838,8 @@ void LLImagePreviewSculpted::setPreviewTarget(LLImageRaw* imagep, F32 distance)
{
*(index_strider++) = vf.mIndices[i];
}
+
+ mVertexBuffer->unmapBuffer();
}