summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-02-08 19:15:43 -0600
committerDave Parks <davep@lindenlab.com>2010-02-08 19:15:43 -0600
commitcf9972b97151422f80746dec2ebc57aa758228c3 (patch)
tree5213cc5abbc354c3cd30842b94a7928ac3c8293d /indra/llrender
parent9bd192d8b7ed5ea4a95bfa5cb6dd8163b8bcd298 (diff)
Fix for blend func being screwed up at init.
Fix for avatar appearance editor drawing hair in the background.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index c11675fa48..55c5b4531b 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -763,8 +763,8 @@ LLRender::LLRender()
mCurrAlphaFunc = CF_DEFAULT;
mCurrAlphaFuncVal = 0.01f;
- mCurrBlendSFactor = BF_SOURCE_ALPHA;
- mCurrBlendDFactor = BF_ONE_MINUS_SOURCE_ALPHA;
+ mCurrBlendSFactor = BF_ONE;
+ mCurrBlendDFactor = BF_ZERO;
}
LLRender::~LLRender()