aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llframestatview.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llframestatview.cpp
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/newview/llframestatview.cpp')
-rw-r--r--linden/indra/newview/llframestatview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/llframestatview.cpp b/linden/indra/newview/llframestatview.cpp
index 752c6c4..a7d08cf 100644
--- a/linden/indra/newview/llframestatview.cpp
+++ b/linden/indra/newview/llframestatview.cpp
@@ -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));