summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttexture.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2023-08-21 10:19:57 -0700
committerCallum Prentice <callum@lindenlab.com>2023-08-21 10:19:57 -0700
commit2830d5c09e3bb3fb81752de9027bfbee5edd0cc7 (patch)
tree70236a9a37954a43bc9143c0333fdcb8bbc0c91f /indra/newview/llinspecttexture.cpp
parentd3147517b4b0f0abc7e9f753eddb3a39343a2fa9 (diff)
parent42870208598a374628987b9f2504176b369b798b (diff)
Merge remote-tracking branch 'origin/DRTVWR-567' into viewer_bulky_thumbs
Diffstat (limited to 'indra/newview/llinspecttexture.cpp')
-rw-r--r--indra/newview/llinspecttexture.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llinspecttexture.cpp b/indra/newview/llinspecttexture.cpp
index 82676bced8..da4e3c0949 100644
--- a/indra/newview/llinspecttexture.cpp
+++ b/indra/newview/llinspecttexture.cpp
@@ -140,8 +140,11 @@ void LLTexturePreviewView::draw()
{
LLRect rctClient = getLocalRect();
- if (4 == m_Image->getComponents())
- gl_rect_2d_checkerboard(rctClient);
+ if (4 == m_Image->getComponents())
+ {
+ const LLColor4 color(.098f, .098f, .098f);
+ gl_rect_2d(rctClient, color, TRUE);
+ }
gl_draw_scaled_image(rctClient.mLeft, rctClient.mBottom, rctClient.getWidth(), rctClient.getHeight(), m_Image);
bool isLoading = (!m_Image->isFullyLoaded()) && (m_Image->getDiscardLevel() > 0);