diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llviewerimage.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llviewerimage.cpp')
-rw-r--r-- | linden/indra/newview/llviewerimage.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewerimage.cpp b/linden/indra/newview/llviewerimage.cpp index 5a745ae..2a7f346 100644 --- a/linden/indra/newview/llviewerimage.cpp +++ b/linden/indra/newview/llviewerimage.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2000-2007, Linden Research, Inc. | 5 | * Copyright (c) 2000-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -1034,7 +1035,7 @@ bool LLViewerImage::doLoadedCallbacks() | |||
1034 | 1035 | ||
1035 | destroyRawImage(); | 1036 | destroyRawImage(); |
1036 | createRawImage(gl_discard, TRUE); | 1037 | createRawImage(gl_discard, TRUE); |
1037 | readBackRaw(gl_discard, mRawImage); | 1038 | readBackRaw(gl_discard, mRawImage, false); |
1038 | mIsRawImageValid = TRUE; | 1039 | mIsRawImageValid = TRUE; |
1039 | llassert_always(mRawImage.notNull()); | 1040 | llassert_always(mRawImage.notNull()); |
1040 | llassert_always(!mNeedsAux || mAuxRawImage.notNull()); | 1041 | llassert_always(!mNeedsAux || mAuxRawImage.notNull()); |
@@ -1061,8 +1062,10 @@ bool LLViewerImage::doLoadedCallbacks() | |||
1061 | // we're going to call them. | 1062 | // we're going to call them. |
1062 | 1063 | ||
1063 | llassert_always(mRawImage.notNull()); | 1064 | llassert_always(mRawImage.notNull()); |
1064 | llassert_always(!mNeedsAux || mAuxRawImage.notNull()); | 1065 | if(mNeedsAux && mAuxRawImage.isNull()) |
1065 | 1066 | { | |
1067 | llwarns << "Raw Image with no Aux Data for callback" << llendl; | ||
1068 | } | ||
1066 | BOOL final = mRawDiscardLevel <= entryp->mDesiredDiscard ? TRUE : FALSE; | 1069 | BOOL final = mRawDiscardLevel <= entryp->mDesiredDiscard ? TRUE : FALSE; |
1067 | //llinfos << "Running callback for " << getID() << llendl; | 1070 | //llinfos << "Running callback for " << getID() << llendl; |
1068 | //llinfos << mRawImage->getWidth() << "x" << mRawImage->getHeight() << llendl; | 1071 | //llinfos << mRawImage->getWidth() << "x" << mRawImage->getHeight() << llendl; |