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/newview/lltexturectrl.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 '')
-rw-r--r-- | linden/indra/newview/lltexturectrl.cpp | 4 |
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); |