diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-02-29 16:15:02 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-02-29 16:15:02 -0500 |
commit | 7b3f721e7a110f9f63caacb2546207fddb44fc4b (patch) | |
tree | 10364c49f00fb4d7add6e6f1cd73fc634c6019b4 /indra/llrender/llrender.cpp | |
parent | e2edb5b7519606b31681a00bd01eaa732d75577d (diff) |
SH-3018 WIP - removed audit texture, other unused diagnostic code
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r-- | indra/llrender/llrender.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index b0ddacbb05..93bac4c779 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -246,14 +246,6 @@ bool LLTexUnit::bind(LLTexture* texture, bool for_rendering, bool forceBind) } //in audit, replace the selected texture by the default one. - if(gAuditTexture && for_rendering && LLImageGL::sCurTexPickSize > 0) - { - if(texture->getWidth() * texture->getHeight() == LLImageGL::sCurTexPickSize) - { - gl_tex->updateBindStats(gl_tex->mTextureMemory); - return bind(LLImageGL::sHighlightTexturep.get()); - } - } if ((mCurrTexture != gl_tex->getTexName()) || forceBind) { activate(); |