diff options
author | Dave Houlton <euclid@lindenlab.com> | 2022-01-27 12:57:30 -0700 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2022-01-27 17:09:29 -0700 |
commit | 8d0efb54db96c87a2adb4a824998870ff397846e (patch) | |
tree | 929ccf5fb9d7ce49c3ddd18e179f878cadab4cc5 /indra/newview/llviewertexture.cpp | |
parent | 7dcca7f180c2204daefbc3648ebe766a46c7cf85 (diff) |
SL-16418 rename media tex image per-update to avoid contention stall
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 5fed46f437..d652b76794 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1643,6 +1643,7 @@ void LLViewerFetchedTexture::scheduleCreateTexture() #endif mNeedsCreateTexture = TRUE; auto mainq = LLImageGLThread::sEnabled ? mMainQueue.lock() : nullptr; + ref(); // protect texture from deletion while active on bg queue if (mainq) { mainq->postTo( |