summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorcosmic-linden <111533034+cosmic-linden@users.noreply.github.com>2023-01-25 17:25:29 -0800
committerGitHub <noreply@github.com>2023-01-25 17:25:29 -0800
commit27838840778af06fc4aaa403735b034fc308798e (patch)
treefc98b1a339946884473efe2ced0d877d8cf309ad /indra/newview
parent98d2a46b30650465e9c0909b1c1d186752fa1d38 (diff)
parent2f1158c06f0d30ae8c5f228e3ea106a01825af3b (diff)
Merge pull request #61 from secondlife/SL-19081
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();
}