Don't know why exactly this works, but fixes noshader and seems safe.

This commit is contained in:
Siana Gearz
2011-10-20 13:10:11 +02:00
parent 6c19346855
commit 95634e8276

View File

@@ -794,7 +794,7 @@ void LLDrawPoolBump::endBump(U32 pass)
{
// 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