summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-04-19 16:35:38 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-04-19 16:35:38 -0600
commit202f16cdf81fe590a7b40334016a7374e0bbdad7 (patch)
tree41769064dfce2c5c1ab2a82180df3e923876eadb /indra/newview
parent0a80627bca63ee05ce07df510ebe2072399dd01d (diff)
trival: remove some redundant code from llviewertexture.cpp.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewertexture.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index a5adb11c53..c883087cf2 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1564,10 +1564,6 @@ F32 LLViewerFetchedTexture::calcDecodePriority()
// larger mips are corrupted
priority = -3.0f;
}
- else if (cur_discard <= mDesiredDiscardLevel)
- {
- priority = -4.0f;
- }
else
{
// priority range = 100,000 - 500,000