aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstatbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llstatbar.cpp')
-rw-r--r--linden/indra/newview/llstatbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llstatbar.cpp b/linden/indra/newview/llstatbar.cpp
index 19a9442..2673166 100644
--- a/linden/indra/newview/llstatbar.cpp
+++ b/linden/indra/newview/llstatbar.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -166,7 +166,7 @@ void LLStatBar::draw()
166 bottom = bar_top - bar_height - tick_height/2; 166 bottom = bar_top - bar_height - tick_height/2;
167 167
168 LLGLSUIDefault gls_ui; 168 LLGLSUIDefault gls_ui;
169 LLGLSNoTexture gls_no_texture; 169 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
170 for (tick_value = mMinBar; tick_value <= mMaxBar; tick_value += mTickSpacing) 170 for (tick_value = mMinBar; tick_value <= mMaxBar; tick_value += mTickSpacing)
171 { 171 {
172 left = llfloor((tick_value - mMinBar)*value_scale); 172 left = llfloor((tick_value - mMinBar)*value_scale);