diff options
| author | Cosmic Linden <cosmic@lindenlab.com> | 2023-01-25 16:56:45 -0800 |
|---|---|---|
| committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-01-25 16:56:45 -0800 |
| commit | 2f1158c06f0d30ae8c5f228e3ea106a01825af3b (patch) | |
| tree | f0b5fd2d11519a31c59e963a8098c35cd631196e | |
| parent | 2aaa15fef15243e6b38f46426d8ebb355ccfb807 (diff) | |
SL-19081: Fix assert when uploading texture
| -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(); } |
