summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexturelist.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-05-29 12:42:53 -0400
committerOz Linden <oz@lindenlab.com>2012-05-29 12:42:53 -0400
commit81870e09c98da59bf64289e3fe46f4e4281876d3 (patch)
treed9e1a28b3e0e732c6b32d2ea67f5f56de6bc8a7a /indra/newview/llviewertexturelist.cpp
parentb2baee8e34a141c28fd2a7b60566558c1019c0a9 (diff)
parent5db5102fe05f7d2ef3535516da269abb276dad6b (diff)
merge changes for DRTVWR-148
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r--indra/newview/llviewertexturelist.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp
index 2008a884db..528e0080b7 100644
--- a/indra/newview/llviewertexturelist.cpp
+++ b/indra/newview/llviewertexturelist.cpp
@@ -1456,6 +1456,9 @@ LLUIImagePtr LLUIImageList::loadUIImage(LLViewerFetchedTexture* imagep, const st
imagep->setAddressMode(LLTexUnit::TAM_CLAMP);
+ //don't compress UI images
+ imagep->getGLTexture()->setAllowCompression(false);
+
//all UI images are non-deletable
imagep->setNoDelete();