diff options
Diffstat (limited to 'indra/newview/lldrawpoolsimple.cpp')
-rwxr-xr-x | indra/newview/lldrawpoolsimple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolsimple.cpp b/indra/newview/lldrawpoolsimple.cpp index 3221369fa0..2cf9d833c6 100755 --- a/indra/newview/lldrawpoolsimple.cpp +++ b/indra/newview/lldrawpoolsimple.cpp @@ -294,6 +294,7 @@ void LLDrawPoolAlphaMask::render(S32 pass) } else { + LLGLEnable test(GL_ALPHA_TEST); pushMaskBatches(LLRenderPass::PASS_ALPHA_MASK, getVertexDataMask(), TRUE, FALSE); gGL.setAlphaRejectSettings(LLRender::CF_DEFAULT); //OK } @@ -370,6 +371,7 @@ void LLDrawPoolFullbrightAlphaMask::render(S32 pass) } else { + LLGLEnable test(GL_ALPHA_TEST); gPipeline.enableLightsFullbright(LLColor4(1,1,1,1)); pushMaskBatches(LLRenderPass::PASS_FULLBRIGHT_ALPHA_MASK, getVertexDataMask(), TRUE, FALSE); gPipeline.enableLightsDynamic(); |