summaryrefslogtreecommitdiff
path: root/indra/newview/lltinygltfhelper.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-01-19 11:38:02 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-01-19 11:38:02 -0500
commit0752cc07921664af2e13588b1aaaf3c47546e3be (patch)
tree697d8f9b5384e76a333a6a16f758198e5b33ef07 /indra/newview/lltinygltfhelper.cpp
parentf21666bd9a4fe35b325c23c4b46076be24016bfc (diff)
parent586e4cd090b22f11a68fa635e598847ce3b84d21 (diff)
DRTVWR-601: Merge branch 'release/gltf-maint2' into DRTVWR-601-gha-libs
Diffstat (limited to 'indra/newview/lltinygltfhelper.cpp')
-rw-r--r--indra/newview/lltinygltfhelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lltinygltfhelper.cpp b/indra/newview/lltinygltfhelper.cpp
index 999be07dba..5b75db37d0 100644
--- a/indra/newview/lltinygltfhelper.cpp
+++ b/indra/newview/lltinygltfhelper.cpp
@@ -178,6 +178,7 @@ LLImageRaw * LLTinyGLTFHelper::getTexture(const std::string & folder, const tiny
{
rawImage = new LLImageRaw(&image->image[0], image->width, image->height, image->component);
rawImage->verticalFlip();
+ rawImage->optimizeAwayAlpha();
}
return rawImage;