summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-07-05 17:25:57 -0500
committerDave Parks <davep@lindenlab.com>2011-07-05 17:25:57 -0500
commit36a05ebd9a2a969bab4621f522a9a82f69e523d7 (patch)
tree1ba438e5b4576a6c57b798df3b9b9891c6c1e7ed /indra
parent749b48523aa9d57e9242a18007d49c9e517ea84d (diff)
SH-1951 Partial fix for basic shaders disabled changing terrain appearance.
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 6a3f186531..1d82dda30f 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -294,7 +294,7 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind)
glBindTexture(sGLTextureType[texture->getTarget()], mCurrTexture);
texture->updateBindStats(texture->mTextureMemory);
mHasMipMaps = texture->mHasMipMaps;
- if (mIndex == 0 && texture->mTexOptionsDirty)
+ if (texture->mTexOptionsDirty)
{
texture->mTexOptionsDirty = false;
setTextureAddressMode(texture->mAddressMode);