summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.h
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-10-07 07:03:35 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-10-07 07:03:35 +0300
commit028fd679296cd241e7dd0aac3e1c33480a9d3c2c (patch)
tree43b26969842dca99f509d6956513bbdedab07ada /indra/llrender/llimagegl.h
parent30d5e0df14909f3f6422d91953d50f21b4bdedf2 (diff)
parenta14b9cb604482b5fc1ff09167cab058e1f81244b (diff)
Crashfixes for image loading
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; }