diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llframestatview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llframestatview.cpp b/linden/indra/newview/llframestatview.cpp index 752c6c4..7271faf 100644 --- a/linden/indra/newview/llframestatview.cpp +++ b/linden/indra/newview/llframestatview.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 |
@@ -98,7 +98,7 @@ void LLFrameStatView::draw() | |||
98 | S32 j; | 98 | S32 j; |
99 | LLStat *statp; | 99 | LLStat *statp; |
100 | 100 | ||
101 | LLGLSNoTexture gls_no_texture; | 101 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
102 | 102 | ||
103 | statp = mStats[0]; | 103 | statp = mStats[0]; |
104 | if (!statp) | 104 | if (!statp) |
@@ -159,7 +159,7 @@ void LLFrameStatView::draw() | |||
159 | for (i = 0; i < mNumStats; i++) | 159 | for (i = 0; i < mNumStats; i++) |
160 | { | 160 | { |
161 | // Draw the color key. | 161 | // Draw the color key. |
162 | LLGLSNoTexture gls_no_texture; | 162 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
163 | gl_rect_2d(left, top - 2, left + 10, top - 12, mColors[i]); | 163 | gl_rect_2d(left, top - 2, left + 10, top - 12, mColors[i]); |
164 | 164 | ||
165 | left = left + 15; | 165 | left = left + 15; |
@@ -203,7 +203,7 @@ void LLFrameStatView::draw() | |||
203 | bottom = bottom - 4; | 203 | bottom = bottom - 4; |
204 | for (tick_value = 0; tick_value <= 100; tick_value += 20) | 204 | for (tick_value = 0; tick_value <= 100; tick_value += 20) |
205 | { | 205 | { |
206 | LLGLSNoTexture gls_no_texture; | 206 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
207 | left = 10 + llfloor(tick_value*(total_width/100.f)); | 207 | left = 10 + llfloor(tick_value*(total_width/100.f)); |
208 | right = left + 1; | 208 | right = left + 1; |
209 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.2f)); | 209 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.2f)); |
@@ -253,7 +253,7 @@ void LLFrameStatView::draw() | |||
253 | bottom = top - graph_height - 4; | 253 | bottom = top - graph_height - 4; |
254 | for (tick_value = 0; tick_value <= 100; tick_value += 20) | 254 | for (tick_value = 0; tick_value <= 100; tick_value += 20) |
255 | { | 255 | { |
256 | LLGLSNoTexture gls_no_texture; | 256 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
257 | left = 10 + llfloor(tick_value*(total_width/100.f)); | 257 | left = 10 + llfloor(tick_value*(total_width/100.f)); |
258 | right = left + 1; | 258 | right = left + 1; |
259 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); | 259 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); |
@@ -278,7 +278,7 @@ void LLFrameStatView::draw() | |||
278 | bottom = top - graph_height - 4; | 278 | bottom = top - graph_height - 4; |
279 | for (tick_value = 0; tick_value <= mTotalTime; tick_value += mLabelSpacing) | 279 | for (tick_value = 0; tick_value <= mTotalTime; tick_value += mLabelSpacing) |
280 | { | 280 | { |
281 | LLGLSNoTexture gls_no_texture; | 281 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
282 | left = 10 + llfloor(tick_value*time_scale); | 282 | left = 10 + llfloor(tick_value*time_scale); |
283 | right = left + 1; | 283 | right = left + 1; |
284 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); | 284 | gl_rect_2d(left, top, right, bottom, LLColor4(1.f, 1.f, 1.f, 0.25f)); |