diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-10-28 17:33:29 -0700 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-10-28 17:33:29 -0700 |
commit | d6a2c5965e6b0b07014e8fc2dbb16edc463e0566 (patch) | |
tree | 879d891f1c6a743529d7683db3d322541e5d39f5 /indra/newview/lltexlayer.cpp | |
parent | 5db497e398d537a7f3b23c50336e2825006e0907 (diff) | |
parent | 437449044583d50c8cad694e65e5a4a23a55d768 (diff) |
merge from remote repo
Diffstat (limited to 'indra/newview/lltexlayer.cpp')
-rw-r--r-- | indra/newview/lltexlayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltexlayer.cpp b/indra/newview/lltexlayer.cpp index 17547cae39..5d9046ac90 100644 --- a/indra/newview/lltexlayer.cpp +++ b/indra/newview/lltexlayer.cpp @@ -804,8 +804,9 @@ void LLTexLayerSet::renderAlphaMaskTextures(S32 x, S32 y, S32 width, S32 height, gGL.setColorMask(false, true); gGL.setSceneBlendType(LLRender::BT_REPLACE); + // (Optionally) replace alpha with a single component image from a tga file. - if (!info->mStaticAlphaFileName.empty() && mMaskLayerList.empty()) + if (!info->mStaticAlphaFileName.empty()) { LLGLSNoAlphaTest gls_no_alpha_test; gGL.flush(); |