aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llview.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llview.cpp4
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