summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-09-09 15:34:02 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-09-09 15:34:02 -0700
commitcb902bf9a97177322c222a032715262987c98eb9 (patch)
tree7e73f746e1de49b3f03bfa6487ec07620038f47a /indra/newview/pipeline.cpp
parentdfe19c257dbb9d5af6f1e2961015e95847525412 (diff)
SL-17701: Fix enum compare using wrong types which broke macOS build
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index abf0d457e2..5398243f55 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1684,7 +1684,7 @@ U32 LLPipeline::getPoolTypeFromTE(const LLTextureEntry* te, LLViewerTexture* ima
}
}
- if (alpha || (gltf_mat && gltf_mat->mAlphaMode == LLMaterial::DIFFUSE_ALPHA_MODE_BLEND))
+ if (alpha || (gltf_mat && gltf_mat->mAlphaMode == LLGLTFMaterial::ALPHA_MODE_BLEND))
{
return LLDrawPool::POOL_ALPHA;
}