summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-11 11:29:32 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-11 11:29:32 +0000
commit4a46fb0f86a043714ef54d302d790b069f888653 (patch)
tree20e63f586bbf7380c3c08be2fc9e6044b8e41c66 /indra/llimage
parent3298ab474e5e95d0016dff0e219f882ee0fa5c3a (diff)
parenta618a3913af506878adf59a2c5b5fb12e665e35b (diff)
merge from viewer-2-0
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 5649b4cab7..7d0de18c7c 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -157,8 +157,9 @@ U8* LLImageBase::allocateData(S32 size)
llerrs << llformat("LLImageBase::allocateData called with bad dimensions: %dx%dx%d",mWidth,mHeight,mComponents) << llendl;
}
}
- else if (size <= 0 || (size > 4096*4096*16 && sSizeOverride == FALSE))
+ if (size < 1 || (size > 4096*4096*16 && sSizeOverride == FALSE))
{
+ llinfos << "width: " << mWidth << " height: " << mHeight << " components: " << mComponents << llendl ;
llerrs << "LLImageBase::allocateData: bad size: " << size << llendl;
}