Skip to content
Snippets Groups Projects
Commit 809ebe7d authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-20143 Alpha thumbnails should show solid color instead of checkerboard

parent 03db9132
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,8 @@ void LLThumbnailCtrl::draw() ...@@ -100,7 +100,8 @@ void LLThumbnailCtrl::draw()
{ {
if( mTexturep->getComponents() == 4 ) 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); gl_draw_scaled_image( draw_rect.mLeft, draw_rect.mBottom, draw_rect.getWidth(), draw_rect.getHeight(), mTexturep, UI_VERTEX_COLOR % alpha);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment