diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-10 13:00:36 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-10 13:00:36 -0500 |
commit | 49579bebdd274a88c2381c4cab3d09ecd393564d (patch) | |
tree | dc40bcad16457090585b47cc04831cf9c8032bbe /indra/llrender | |
parent | e2b51b8884d1003a3312276611b8a8c34123bc36 (diff) |
Fix for wierd triangle shadow bug and fix for ATI hating deferred rendering.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llrender.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 43662fbb5c..2472339ec4 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -165,6 +165,7 @@ void LLTexUnit::enable(eTextureType type) if ( (mCurrTexType != type || gGL.mDirty) && (type != TT_NONE) ) { activate(); + if (mCurrTexType != TT_NONE && !gGL.mDirty) { disable(); // Force a disable of a previous texture type if it's enabled. |