diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-02-24 16:22:38 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-02-24 16:22:38 +0200 |
commit | 09cb792aa7908bc6c76792ba7ee5082b7569299a (patch) | |
tree | 05efa1e7e59dabf740172d73577f9635c0074104 /indra/llrender | |
parent | c27f2e19125c469bd0cbddd8c2a8feac66dc8b9a (diff) |
MAINT-5297 - icons were not removed from memory
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llgltexture.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llgltexture.cpp b/indra/llrender/llgltexture.cpp index 56e263c5f1..3a6eebebba 100644 --- a/indra/llrender/llgltexture.cpp +++ b/indra/llrender/llgltexture.cpp @@ -112,7 +112,8 @@ void LLGLTexture::setBoostLevel(S32 level) if(mBoostLevel != level) { mBoostLevel = level ; - if(mBoostLevel != LLGLTexture::BOOST_NONE) + if(mBoostLevel != LLGLTexture::BOOST_NONE + && mBoostLevel != LLGLTexture::BOOST_ICON) { setNoDelete() ; } |