diff options
author | McCabe Maxsted | 2010-08-03 23:06:00 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-07 06:22:48 -0700 |
commit | 66e407c85d5c0baf55168e4527e5d47fcddb1ec3 (patch) | |
tree | e226a175b3875527904bb86af43ff175ead576da /linden | |
parent | Scratching an ooooold itch: added 'Gestures' slider and mute button to the au... (diff) | |
download | meta-impy-66e407c85d5c0baf55168e4527e5d47fcddb1ec3.zip meta-impy-66e407c85d5c0baf55168e4527e5d47fcddb1ec3.tar.gz meta-impy-66e407c85d5c0baf55168e4527e5d47fcddb1ec3.tar.bz2 meta-impy-66e407c85d5c0baf55168e4527e5d47fcddb1ec3.tar.xz |
Don't llerrs if textures have bogus params
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llrender/llimagegl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llrender/llimagegl.cpp b/linden/indra/llrender/llimagegl.cpp index d6474f7..7cd4dd7 100644 --- a/linden/indra/llrender/llimagegl.cpp +++ b/linden/indra/llrender/llimagegl.cpp | |||
@@ -1231,7 +1231,9 @@ BOOL LLImageGL::readBackRaw(S32 discard_level, LLImageRaw* imageraw, bool compre | |||
1231 | 1231 | ||
1232 | if (width <= 0 || width > 2048 || height <= 0 || height > 2048 || ncomponents < 1 || ncomponents > 4) | 1232 | if (width <= 0 || width > 2048 || height <= 0 || height > 2048 || ncomponents < 1 || ncomponents > 4) |
1233 | { | 1233 | { |
1234 | llerrs << llformat("LLImageGL::readBackRaw: bogus params: %d x %d x %d",width,height,ncomponents) << llendl; | 1234 | //llerrs << llformat("LLImageGL::readBackRaw: bogus params: %d x %d x %d",width,height,ncomponents) << llendl; |
1235 | llwarns << llformat("LLImageGL::readBackRaw: bogus params: %d x %d x %d",width,height,ncomponents) << llendl; | ||
1236 | return FALSE; | ||
1235 | } | 1237 | } |
1236 | 1238 | ||
1237 | LLGLint is_compressed = 0; | 1239 | LLGLint is_compressed = 0; |