diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/llui/llview.cpp | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-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/llui/llview.cpp')
-rw-r--r-- | linden/indra/llui/llview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/llview.cpp b/linden/indra/llui/llview.cpp index 034c49b..bc6fe7e 100644 --- a/linden/indra/llui/llview.cpp +++ b/linden/indra/llui/llview.cpp | |||
@@ -1281,7 +1281,7 @@ void LLView::drawDebugRect() | |||
1281 | LLUI::pushMatrix(); | 1281 | LLUI::pushMatrix(); |
1282 | { | 1282 | { |
1283 | // drawing solids requires texturing be disabled | 1283 | // drawing solids requires texturing be disabled |
1284 | LLGLSNoTexture no_texture; | 1284 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
1285 | 1285 | ||
1286 | if (mUseBoundingRect) | 1286 | if (mUseBoundingRect) |
1287 | { | 1287 | { |
@@ -1303,7 +1303,7 @@ void LLView::drawDebugRect() | |||
1303 | 1303 | ||
1304 | gGL.color4fv( border_color.mV ); | 1304 | gGL.color4fv( border_color.mV ); |
1305 | 1305 | ||
1306 | gGL.begin(LLVertexBuffer::LINES); | 1306 | gGL.begin(LLRender::LINES); |
1307 | gGL.vertex2i(0, debug_rect.getHeight() - 1); | 1307 | gGL.vertex2i(0, debug_rect.getHeight() - 1); |
1308 | gGL.vertex2i(0, 0); | 1308 | gGL.vertex2i(0, 0); |
1309 | 1309 | ||