summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.h
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-10-07 03:52:04 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-10-07 03:52:04 +0300
commita14b9cb604482b5fc1ff09167cab058e1f81244b (patch)
tree7b6c271f6928bc662e3e508d3ce2c28eef0ad4d6 /indra/llrender/llimagegl.h
parent41f1d0b66775aa817c42dc482e6654d5a3d6860f (diff)
MAINT-6635 Fix for LLImageGL::setSize crash
Diffstat (limited to 'indra/llrender/llimagegl.h')
-rw-r--r--indra/llrender/llimagegl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h
index 21982eab1d..ad2aea9067 100644
--- a/indra/llrender/llimagegl.h
+++ b/indra/llrender/llimagegl.h
@@ -94,7 +94,7 @@ protected:
public:
virtual void dump(); // debugging info to LL_INFOS()
- void setSize(S32 width, S32 height, S32 ncomponents, S32 discard_level = -1);
+ bool setSize(S32 width, S32 height, S32 ncomponents, S32 discard_level = -1);
void setComponents(S32 ncomponents) { mComponents = (S8)ncomponents ;}
void setAllowCompression(bool allow) { mAllowCompression = allow; }