Fix for general graphical glitching on some cards

meow-7.2.2
Brad Payne (Vir Linden) 2012-10-29 18:05:50 -04:00
parent 6c62c4e716
commit 866ea1dc44
1 changed files with 1 additions and 1 deletions

2
indra/llappearance/lltexlayer.cpp Normal file → Executable file
View File

@ -1121,7 +1121,7 @@ BOOL LLTexLayer::render(S32 x, S32 y, S32 width, S32 height)
//gPipeline.disableLights();
stop_glerror();
glDisable(GL_LIGHTING);
glEnable(GL_ALPHA_TEST);
LLGLEnable(GL_ALPHA_TEST);
stop_glerror();
bool use_shaders = LLGLSLShader::sNoFixedFunction;