Invalid texunit was still bound after bumpmapping finished

This commit is contained in:
Shyotl
2011-10-20 13:26:08 -05:00
parent 5d6aadb268
commit 40261d3472

View File

@@ -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