diff options
author | Dave Parks <davep@lindenlab.com> | 2023-10-31 16:06:51 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-10-31 16:06:51 -0500 |
commit | e72ecda4e58958f24bcbb9ce12276dbde26829ba (patch) | |
tree | 29f6f5b0a9481659611dcf84b3e7bc0ad91c088b /indra/newview | |
parent | e154fee226b4a33d5b55f3cebf1667e5d0604db5 (diff) |
SL-19592 Fix for PBR alpha HUDs sometimes using wrong texture on OSX
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfetchedgltfmaterial.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfetchedgltfmaterial.cpp b/indra/newview/llfetchedgltfmaterial.cpp index 1fb3577dd7..fc9d42bfb6 100644 --- a/indra/newview/llfetchedgltfmaterial.cpp +++ b/indra/newview/llfetchedgltfmaterial.cpp @@ -83,11 +83,11 @@ void LLFetchedGLTFMaterial::bind(LLViewerTexture* media_tex) if (baseColorTex != nullptr) { - gGL.getTexUnit(0)->bindFast(baseColorTex); + shader->bindTexture(LLShaderMgr::DIFFUSE_MAP, baseColorTex); } else { - gGL.getTexUnit(0)->bindFast(LLViewerFetchedTexture::sWhiteImagep); + shader->bindTexture(LLShaderMgr::DIFFUSE_MAP, LLViewerFetchedTexture::sWhiteImagep); } F32 base_color_packed[8]; |