Skip to content
Snippets Groups Projects
Commit 36a05ebd authored by David Parks's avatar David Parks
Browse files

SH-1951 Partial fix for basic shaders disabled changing terrain appearance.

parent 749b4852
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind) ...@@ -294,7 +294,7 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind)
glBindTexture(sGLTextureType[texture->getTarget()], mCurrTexture); glBindTexture(sGLTextureType[texture->getTarget()], mCurrTexture);
texture->updateBindStats(texture->mTextureMemory); texture->updateBindStats(texture->mTextureMemory);
mHasMipMaps = texture->mHasMipMaps; mHasMipMaps = texture->mHasMipMaps;
if (mIndex == 0 && texture->mTexOptionsDirty) if (texture->mTexOptionsDirty)
{ {
texture->mTexOptionsDirty = false; texture->mTexOptionsDirty = false;
setTextureAddressMode(texture->mAddressMode); setTextureAddressMode(texture->mAddressMode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment