diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltextureview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/lltextureview.cpp b/linden/indra/newview/lltextureview.cpp index 10a8950..14f62dd 100644 --- a/linden/indra/newview/lltextureview.cpp +++ b/linden/indra/newview/lltextureview.cpp | |||
@@ -162,7 +162,7 @@ void LLTextureBar::draw() | |||
162 | { | 162 | { |
163 | color = LLColor4::magenta; | 163 | color = LLColor4::magenta; |
164 | } | 164 | } |
165 | else if (mImagep->getDecodePriority() == 0.0f) | 165 | else if (mImagep->getDecodePriority() <= 0.0f) |
166 | { | 166 | { |
167 | color = LLColor4::grey; color[VALPHA] = .7f; | 167 | color = LLColor4::grey; color[VALPHA] = .7f; |
168 | } | 168 | } |
@@ -612,6 +612,7 @@ void LLTextureView::draw() | |||
612 | { | 612 | { |
613 | pri = imagep->getDecodePriority(); | 613 | pri = imagep->getDecodePriority(); |
614 | } | 614 | } |
615 | pri = llclamp(pri, 0.0f, HIGH_PRIORITY-1.f); | ||
615 | 616 | ||
616 | if (sDebugImages.find(imagep) != sDebugImages.end()) | 617 | if (sDebugImages.find(imagep) != sDebugImages.end()) |
617 | { | 618 | { |