diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-07 15:24:40 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-07 15:24:40 -0500 |
commit | 99189ff2d5e96434cdc58115bbc03614f8e50773 (patch) | |
tree | abb936b8e0e180f9feefcfa0306364f843913ccd /indra/newview/llviewertexture.cpp | |
parent | 197baebc62d1e4b922730266f77f4e6b555e2cac (diff) |
SL-17547 Fix for crash on shutdown introduced in last commit.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index ae480bcc35..b7633545f9 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -653,7 +653,10 @@ void LLViewerTexture::cleanup() { notifyAboutMissingAsset(); - LLAppViewer::getTextureFetch()->updateRequestPriority(mID, 0.f); + if (LLAppViewer::getTextureFetch()) + { + LLAppViewer::getTextureFetch()->updateRequestPriority(mID, 0.f); + } mFaceList[LLRender::DIFFUSE_MAP].clear(); mFaceList[LLRender::NORMAL_MAP].clear(); |