From efe1f7c6f6c8f3e80e3937eb5ec708e27804d10a Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Wed, 10 Feb 2010 21:00:00 +0000
Subject: [PATCH] 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(+)

diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp
index 6d773614149..040a7e3976b 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)
 		{
-- 
GitLab