summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-12-08 17:21:05 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-12-08 17:21:05 +0200
commita65b586b184d9837e0586b4df0d2e758ccce63f6 (patch)
tree1708be9949cc91306f7fbf90fb5664d9e0eeb48d /indra/llimage/llimage.cpp
parent2abd0eef41a94d5626ca9f5f1b18aa959157c50f (diff)
MAINT-6729 Additional fix for crash in LLImageGL::analyzeAlpha()
Diffstat (limited to 'indra/llimage/llimage.cpp')
-rw-r--r--indra/llimage/llimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 43b6b3bcd6..a07ea14621 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -800,7 +800,7 @@ U8* LLImageBase::getData()
return mData;
}
-bool LLImageBase::isBufferInvalid()
+bool LLImageBase::isBufferInvalid() const
{
return mBadBufferAllocation || mData == NULL ;
}