From efe1f7c6f6c8f3e80e3937eb5ec708e27804d10a Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 10 Feb 2010 21:00:00 +0000 Subject: 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. --- indra/newview/lldrawpoolalpha.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview') 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) { -- cgit v1.2.3