summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-09 17:09:35 -0600
committerDave Parks <davep@lindenlab.com>2011-03-09 17:09:35 -0600
commit713366477d4f840ddf90b3095ea09b29b401c0e4 (patch)
tree495e8a5ee9204a4d29c29ae55b503569a54761f5 /indra
parent85f099a868224bead0718e964214b29dfd769ffa (diff)
Fix for texture state corruption when rendering impostors in a reflection map or underwater and deferred rendering is enabled.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 2de4c93ffd..645c7ebcae 100644
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -1137,7 +1137,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
if (impostor)
{
- if (LLPipeline::sRenderDeferred && avatarp->mImpostor.isComplete())
+ if (LLPipeline::sRenderDeferred && !LLPipeline::sReflectionRender && avatarp->mImpostor.isComplete())
{
if (normal_channel > -1)
{