summaryrefslogtreecommitdiff
path: root/indra/llrender/llgltexture.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-05-15 12:35:20 +0800
committerErik Kundiman <erik@megapahit.org>2024-05-15 12:35:20 +0800
commit4bf5c78135577f6a1cc57f108de7a949c347c88b (patch)
tree7ff3d36e9409afa7fc10f172bbb8f24ccde187be /indra/llrender/llgltexture.cpp
parent0958f5cc290b5ad7cfe6ea10974d65f8ab79ae0a (diff)
Reapply "SL-20411 Thumbnail textures should have less of an impact on performance #1"
This reverts commit 08f186a700c3fe7976228468f137c920e343bb64.
Diffstat (limited to 'indra/llrender/llgltexture.cpp')
-rw-r--r--indra/llrender/llgltexture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llgltexture.cpp b/indra/llrender/llgltexture.cpp
index 7fdef4a3b7..b616002b49 100644
--- a/indra/llrender/llgltexture.cpp
+++ b/indra/llrender/llgltexture.cpp
@@ -94,7 +94,8 @@ void LLGLTexture::setBoostLevel(S32 level)
{
mBoostLevel = level ;
if(mBoostLevel != LLGLTexture::BOOST_NONE
- && mBoostLevel != LLGLTexture::BOOST_ICON)
+ && mBoostLevel != LLGLTexture::BOOST_ICON
+ && mBoostLevel != LLGLTexture::BOOST_THUMBNAIL)
{
setNoDelete() ;
}