summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-05-10 13:00:36 -0500
committerDave Parks <davep@lindenlab.com>2010-05-10 13:00:36 -0500
commit49579bebdd274a88c2381c4cab3d09ecd393564d (patch)
treedc40bcad16457090585b47cc04831cf9c8032bbe /indra/llrender
parente2b51b8884d1003a3312276611b8a8c34123bc36 (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.cpp1
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.