diff options
| author | Dave Parks <davep@lindenlab.com> | 2014-04-16 13:21:06 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2014-04-16 13:21:06 -0500 |
| commit | 816e8578f9b63640afde942df282ccf5ed1385a5 (patch) | |
| tree | 8b229f6311f46b66ce1e4163776438e392593b23 /indra/llimage/llimageworker.cpp | |
| parent | 678e8621794e774dc6ecc14b9fc3628583e4b935 (diff) | |
Backed out changeset: d0dfe3cda5b1
Diffstat (limited to 'indra/llimage/llimageworker.cpp')
| -rwxr-xr-x | indra/llimage/llimageworker.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index e425823c59..ad2eb0f69c 100755 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -142,12 +142,8 @@ bool LLImageDecodeThread::ImageRequest::processRequest() mFormattedImage->getHeight(), mFormattedImage->getComponents()); } - - //if (mDecodedImageRaw->getData())) - { - done = mFormattedImage->decode(mDecodedImageRaw, decode_time_slice); // 1ms - mDecodedRaw = done; - } + done = mFormattedImage->decode(mDecodedImageRaw, decode_time_slice); // 1ms + mDecodedRaw = done; } if (done && mNeedsAux && !mDecodedAux && mFormattedImage.notNull()) { @@ -158,12 +154,8 @@ bool LLImageDecodeThread::ImageRequest::processRequest() mFormattedImage->getHeight(), 1); } - - //if (mDecodedImageAux->getData()) - { - done = mFormattedImage->decodeChannels(mDecodedImageAux, decode_time_slice, 4, 4); // 1ms - mDecodedAux = done; - } + done = mFormattedImage->decodeChannels(mDecodedImageAux, decode_time_slice, 4, 4); // 1ms + mDecodedAux = done; } return done; |
