summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2009-12-03 16:02:07 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2009-12-03 16:02:07 -0500
commit94d77ac20f8075b5cab992b93901eeecd1e47255 (patch)
treeed443190b8e1414b2340ece2faa95c2bb0949f30
parent0cfc3af9aceede80230c7f2b36fb7fdcf0fcc179 (diff)
Fixing hair alpha mask borkage by previous alpha mask patches
Forgot hair alpha cutoff levels should be default for better blending. Code reviewed by Bigpapi --HG-- branch : avatar-pipeline
-rw-r--r--indra/newview/llvoavatar.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index a9194c0c3b..db450939b9 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -3834,15 +3834,6 @@ U32 LLVOAvatar::renderTransparent(BOOL first_pass)
gGL.setAlphaRejectSettings(LLRender::CF_GREATER, 0.5f);
}
- bool should_alpha_mask = shouldAlphaMask();
-
- LLGLState test(GL_ALPHA_TEST, should_alpha_mask);
-
- if (should_alpha_mask)
- {
- gGL.setAlphaRejectSettings(LLRender::CF_GREATER, 0.5f);
- }
-
if (isTextureVisible(TEX_HEAD_BAKED))
{
num_indices += mMeshLOD[MESH_ID_EYELASH]->render(mAdjustedPixelArea, first_pass, mIsDummy);