diff options
author | Callum Prentice <callum@lindenlab.com> | 2023-08-21 10:19:57 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2023-08-21 10:19:57 -0700 |
commit | 2830d5c09e3bb3fb81752de9027bfbee5edd0cc7 (patch) | |
tree | 70236a9a37954a43bc9143c0333fdcb8bbc0c91f /indra/newview/llinspecttexture.cpp | |
parent | d3147517b4b0f0abc7e9f753eddb3a39343a2fa9 (diff) | |
parent | 42870208598a374628987b9f2504176b369b798b (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.cpp | 7 |
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); |