diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-08-14 20:07:46 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-08-14 20:08:29 +0300 |
commit | 809ebe7d6a98ec2ed450f3fd0bdb95dc8bd648cd (patch) | |
tree | 98b3b57d41f8c5165eb7674c0fe0601bdb1392b5 /indra/newview | |
parent | 03db9132db54e9366305e79e63adc4fe2f4722dc (diff) |
SL-20143 Alpha thumbnails should show solid color instead of checkerboard
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llthumbnailctrl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llthumbnailctrl.cpp b/indra/newview/llthumbnailctrl.cpp index 340dba3717..04130fc724 100644 --- a/indra/newview/llthumbnailctrl.cpp +++ b/indra/newview/llthumbnailctrl.cpp @@ -100,7 +100,8 @@ void LLThumbnailCtrl::draw() { if( mTexturep->getComponents() == 4 ) { - gl_rect_2d_checkerboard( draw_rect, alpha ); + const LLColor4 color(.098f, .098f, .098f); + gl_rect_2d( draw_rect, color, TRUE); } gl_draw_scaled_image( draw_rect.mLeft, draw_rect.mBottom, draw_rect.getWidth(), draw_rect.getHeight(), mTexturep, UI_VERTEX_COLOR % alpha); |