diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-05-16 20:31:29 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-05-16 20:31:29 -0500 |
commit | ee0b330b2d6a3433e3bac6ab21cf6cc3e580c605 (patch) | |
tree | 2ac68911188c025b3564d977d11e9e5e4de5c934 /indra/llappearance/lltexlayerparams.cpp | |
parent | a256a18884ae8e4bc6297ca59fbd5936089ad59c (diff) |
DRTVWR-559 Decruft deprecated OpenGL flags.
Diffstat (limited to 'indra/llappearance/lltexlayerparams.cpp')
-rw-r--r-- | indra/llappearance/lltexlayerparams.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llappearance/lltexlayerparams.cpp b/indra/llappearance/lltexlayerparams.cpp index 06b4f6c75a..4b537a114f 100644 --- a/indra/llappearance/lltexlayerparams.cpp +++ b/indra/llappearance/lltexlayerparams.cpp @@ -346,7 +346,6 @@ BOOL LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height) mCachedProcessedTexture->setAddressMode(LLTexUnit::TAM_CLAMP); } - LLGLSNoAlphaTest gls_no_alpha_test; gGL.getTexUnit(0)->bind(mCachedProcessedTexture); gl_rect_2d_simple_tex(width, height); gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); @@ -363,7 +362,6 @@ BOOL LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height) } else { - LLGLDisable no_alpha(GL_ALPHA_TEST); gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); gGL.color4f(0.f, 0.f, 0.f, effective_weight); gl_rect_2d_simple(width, height); |