diff options
| -rw-r--r-- | indra/newview/llvovolume.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/pipeline.cpp | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 9d8cc17a7f..b2365653ba 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -5961,7 +5961,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)  					BOOL force_simple = (facep->getPixelArea() < FORCE_SIMPLE_RENDER_AREA);  					U32 type = gPipeline.getPoolTypeFromTE(te, tex); -                    if (is_pbr && gltf_mat && gltf_mat->mAlphaMode != LLMaterial::DIFFUSE_ALPHA_MODE_BLEND) +                    if (is_pbr && gltf_mat && gltf_mat->mAlphaMode != LLGLTFMaterial::ALPHA_MODE_BLEND)                      {                          type = LLDrawPool::POOL_PBR_OPAQUE;                      } @@ -6781,7 +6781,7 @@ U32 LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, LLFace                  if (gltf_mat)                  { // all other parameters ignored if gltf material is present -                    if (gltf_mat->mAlphaMode == LLMaterial::DIFFUSE_ALPHA_MODE_BLEND) +                    if (gltf_mat->mAlphaMode == LLGLTFMaterial::ALPHA_MODE_BLEND)                          registerFace(group, facep, LLRenderPass::PASS_ALPHA);                      else                          registerFace(group, facep, LLRenderPass::PASS_PBR_OPAQUE); diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 3538f7e911..d66f11d247 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;  	} | 
