diff options
author | Oz Linden <oz@lindenlab.com> | 2011-07-08 09:25:41 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-07-08 09:25:41 -0400 |
commit | ccb3ad90001c2b19cbd690d67317651ee0182f42 (patch) | |
tree | 6ddb1c9c73a4c3664c26271545f30a160c6fadc1 /indra/llrender | |
parent | 66dcc72870b19c6ada65a643ca33c779c9c9989b (diff) | |
parent | 36a05ebd9a2a969bab4621f522a9a82f69e523d7 (diff) |
merge changes for storm-1485
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llrender.cpp | 2 |
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); |