summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-03-19 16:03:57 -0700
committerCosmic Linden <cosmic@lindenlab.com>2024-03-19 16:03:57 -0700
commit7792e62d3c9e3f8b2a27e7e9cbbc8db2c584b682 (patch)
treea083ed8e310e193e09f1008724c138e8f85d219d /indra/llimage/llimage.h
parent2a325fdebadd32a230f10b372b25ec5474e50f63 (diff)
secondlife/viewer-issues#82: Don't allow transparent texture terrain
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r--indra/llimage/llimage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h
index fc8d62cc96..93b58b2356 100644
--- a/indra/llimage/llimage.h
+++ b/indra/llimage/llimage.h
@@ -210,6 +210,8 @@ public:
void verticalFlip();
+ // Returns true if the image is not fully opaque
+ bool checkHasTransparentPixels();
// if the alpha channel is all 100% opaque, delete it
// returns true if alpha channel was deleted
bool optimizeAwayAlpha();