diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-10 21:00:00 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-10 21:00:00 +0000 |
commit | efe1f7c6f6c8f3e80e3937eb5ec708e27804d10a (patch) | |
tree | 572af67e43080ecb05b2ebb9473aa6bab142f6b1 | |
parent | 62c8091693180e4b8daecc224954e19a0a3ff1d6 (diff) |
Fix 'fast alpha' option for non-deferred rendering. This is a developer toggle which we don't support as such, but people with old viewers may have it turned on and will experience new artifacts without this fix.
Fix is isolated to this fast-alpha case.
-rw-r--r-- | indra/newview/lldrawpoolalpha.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index 6d77361414..040a7e3976 100644 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -180,6 +180,7 @@ void LLDrawPoolAlpha::render(S32 pass) if (LLPipeline::sFastAlpha && !deferred_render) { + LLGLDisable blend_enable(GL_BLEND); gGL.setAlphaRejectSettings(LLRender::CF_GREATER, 0.33f); if (mVertexShaderLevel > 0) { |