aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llscrolllistctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llscrolllistctrl.cpp')
-rw-r--r--linden/indra/llui/llscrolllistctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/llscrolllistctrl.cpp b/linden/indra/llui/llscrolllistctrl.cpp
index d342378..92bcb88 100644
--- a/linden/indra/llui/llscrolllistctrl.cpp
+++ b/linden/indra/llui/llscrolllistctrl.cpp
@@ -435,7 +435,7 @@ void LLScrollListItem::draw(const LLRect& rect, const LLColor4& fg_color, const
435 // draw background rect 435 // draw background rect
436 LLRect bg_rect = rect; 436 LLRect bg_rect = rect;
437 { 437 {
438 LLGLSNoTexture no_texture; 438 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
439 gGL.color4fv(bg_color.mV); 439 gGL.color4fv(bg_color.mV);
440 gl_rect_2d( bg_rect ); 440 gl_rect_2d( bg_rect );
441 } 441 }
@@ -1758,7 +1758,7 @@ void LLScrollListCtrl::draw()
1758 // Draw background 1758 // Draw background
1759 if (mBackgroundVisible) 1759 if (mBackgroundVisible)
1760 { 1760 {
1761 LLGLSNoTexture no_texture; 1761 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
1762 gGL.color4fv( getEnabled() ? mBgWriteableColor.mV : mBgReadOnlyColor.mV ); 1762 gGL.color4fv( getEnabled() ? mBgWriteableColor.mV : mBgReadOnlyColor.mV );
1763 gl_rect_2d(background); 1763 gl_rect_2d(background);
1764 } 1764 }