From 40261d3472b2026323f001e7abbc16ade08a4037 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Thu, 20 Oct 2011 13:26:08 -0500 Subject: [PATCH] Invalid texunit was still bound after bumpmapping finished --- indra/newview/lldrawpoolbump.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp index 20d169853..df7b597c0 100644 --- a/indra/newview/lldrawpoolbump.cpp +++ b/indra/newview/lldrawpoolbump.cpp @@ -793,8 +793,7 @@ void LLDrawPoolBump::endBump(U32 pass) else { // Disable texture blending on unit 1 - gGL.getTexUnit(1)->activate(); - //gGL.getTexUnit(1)->disable(); + gGL.getTexUnit(1)->disable(); gGL.getTexUnit(1)->setTextureBlendType(LLTexUnit::TB_MULT); // Disable texture blending on unit 0