diff options
author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2023-01-25 17:25:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 17:25:29 -0800 |
commit | 27838840778af06fc4aaa403735b034fc308798e (patch) | |
tree | fc98b1a339946884473efe2ced0d877d8cf309ad /indra/newview/llfloaterimagepreview.cpp | |
parent | 98d2a46b30650465e9c0909b1c1d186752fa1d38 (diff) | |
parent | 2f1158c06f0d30ae8c5f228e3ea106a01825af3b (diff) |
Merge pull request #61 from secondlife/SL-19081
SL-19081: Fix assert when uploading texture
Diffstat (limited to 'indra/newview/llfloaterimagepreview.cpp')
-rw-r--r-- | indra/newview/llfloaterimagepreview.cpp | 2 |
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(); } |