aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturectrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltexturectrl.cpp')
-rw-r--r--linden/indra/newview/lltexturectrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lltexturectrl.cpp b/linden/indra/newview/lltexturectrl.cpp
index 382a4f3..38ca3b7 100644
--- a/linden/indra/newview/lltexturectrl.cpp
+++ b/linden/indra/newview/lltexturectrl.cpp
@@ -483,9 +483,9 @@ void LLFloaterTexturePicker::draw()
483 LLRect local_rect = getLocalRect(); 483 LLRect local_rect = getLocalRect();
484 if (gFocusMgr.childHasKeyboardFocus(this) && mOwner->isInVisibleChain() && mContextConeOpacity > 0.001f) 484 if (gFocusMgr.childHasKeyboardFocus(this) && mOwner->isInVisibleChain() && mContextConeOpacity > 0.001f)
485 { 485 {
486 LLGLSNoTexture no_texture; 486 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
487 LLGLEnable(GL_CULL_FACE); 487 LLGLEnable(GL_CULL_FACE);
488 gGL.begin(LLVertexBuffer::QUADS); 488 gGL.begin(LLRender::QUADS);
489 { 489 {
490 gGL.color4f(0.f, 0.f, 0.f, CONTEXT_CONE_IN_ALPHA * mContextConeOpacity); 490 gGL.color4f(0.f, 0.f, 0.f, CONTEXT_CONE_IN_ALPHA * mContextConeOpacity);
491 gGL.vertex2i(owner_rect.mLeft, owner_rect.mTop); 491 gGL.vertex2i(owner_rect.mLeft, owner_rect.mTop);