From 2f1158c06f0d30ae8c5f228e3ea106a01825af3b Mon Sep 17 00:00:00 2001 From: Cosmic Linden Date: Wed, 25 Jan 2023 16:56:45 -0800 Subject: SL-19081: Fix assert when uploading texture --- indra/newview/llfloaterimagepreview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview') 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(); } -- cgit v1.2.3