summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-06-17 16:02:57 -0700
committerBrad Linden <brad@lindenlab.com>2024-06-17 16:02:57 -0700
commitd0dfffe659b24f5a6bfadc5cc612869e1f08bb93 (patch)
tree8df3c672aba2f1aca8e9861bcf7626bd8116b107 /indra/llrender/llshadermgr.cpp
parent5e60392c273f0c9c5efa765a05414c618381780a (diff)
parent375555012f92c1b836f2d122754f9facd050be62 (diff)
Merge remote-tracking branch 'origin/develop' into brad/webrtc-voice-develop
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--indra/llrender/llshadermgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 634be615e6..574cf55a0e 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -295,7 +295,7 @@ bool LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
if (features->hasLighting)
{
- if (features->disableTextureIndex)
+ if (features->mIndexedTextureChannels <= 1)
{
if (features->hasAlphaMask)
{