summaryrefslogtreecommitdiff
path: root/indra/llappearance
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-29 18:05:50 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-29 18:05:50 -0400
commit866ea1dc44fb15a13e8297a1cd079297e7ddbfb9 (patch)
treebd96e2135884020d3a7518f9775ccde2b646d36c /indra/llappearance
parent6c62c4e716753456b7de47652a575fafdba45049 (diff)
Fix for general graphical glitching on some cards
Diffstat (limited to 'indra/llappearance')
-rwxr-xr-x[-rw-r--r--]indra/llappearance/lltexlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llappearance/lltexlayer.cpp b/indra/llappearance/lltexlayer.cpp
index c44799f40d..a65b9e83c6 100644..100755
--- a/indra/llappearance/lltexlayer.cpp
+++ b/indra/llappearance/lltexlayer.cpp
@@ -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;