summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2009-07-16 23:51:22 +0000
committerXiaohong Bao <bao@lindenlab.com>2009-07-16 23:51:22 +0000
commit6a198eed3b784a0495e9710288bddcf73b44ae15 (patch)
tree8075adc5e517a23645867c8c194eac8d69240a04 /indra/llrender/llimagegl.h
parent4b1ce391d4e9cd4139ffef65cf9071bed7f888d0 (diff)
add a flag in LLImageGL to turn off calling LLImageGL::analyzeAlpha() and LLImageGL::updatePickMask().
Diffstat (limited to 'indra/llrender/llimagegl.h')
-rw-r--r--indra/llrender/llimagegl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h
index 09210b1ef1..b58472d398 100644
--- a/indra/llrender/llimagegl.h
+++ b/indra/llrender/llimagegl.h
@@ -167,6 +167,7 @@ public:
void init(BOOL usemipmaps);
virtual void cleanup(); // Clean up the LLImageGL so it can be reinitialized. Be careful when using this in derived class destructors
+ void setNeedsAlpahAndPickMask(BOOL need_mask) {mNeedsAlpahAndPickMask = need_mask;}
public:
// Various GL/Rendering options
S32 mTextureMemory;
@@ -180,6 +181,7 @@ private:
S8 mAutoGenMips;
BOOL mIsMask;
+ BOOL mNeedsAlpahAndPickMask;
bool mGLTextureCreated ;
LLGLuint mTexName;