summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewtexture.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-06 16:16:01 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-06 16:16:01 -0800
commit485dcd9a8f89e885ceb290e70749fcb48767fdc6 (patch)
treed22ce15c10221c3f71c52aa65151d1b648c599c6 /indra/newview/llpreviewtexture.cpp
parent0a5cbfd195c5c67f105e7ea05684c4e726e689f0 (diff)
Fixed textrue prioritization so that boosted textures are always highest priority.
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
-rw-r--r--indra/newview/llpreviewtexture.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp
index d2527065db..3eab13fc4a 100644
--- a/indra/newview/llpreviewtexture.cpp
+++ b/indra/newview/llpreviewtexture.cpp
@@ -204,11 +204,6 @@ void LLPreviewTexture::draw()
// Pump the texture priority
F32 pixel_area = mLoadingFullImage ? (F32)MAX_IMAGE_AREA : (F32)(interior.getWidth() * interior.getHeight() );
mImage->addTextureStats( pixel_area );
- if(pixel_area > 0.f)
- {
- //boost the previewed image priority to the highest to make it to get loaded first.
- mImage->setAdditionalDecodePriority(1.0f) ;
- }
// Don't bother decoding more than we can display, unless
// we're loading the full image.