summaryrefslogtreecommitdiff
path: root/indra/llimage/llimageworker.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2014-04-16 13:21:06 -0500
committerDave Parks <davep@lindenlab.com>2014-04-16 13:21:06 -0500
commit816e8578f9b63640afde942df282ccf5ed1385a5 (patch)
tree8b229f6311f46b66ce1e4163776438e392593b23 /indra/llimage/llimageworker.cpp
parent678e8621794e774dc6ecc14b9fc3628583e4b935 (diff)
Backed out changeset: d0dfe3cda5b1
Diffstat (limited to 'indra/llimage/llimageworker.cpp')
-rwxr-xr-xindra/llimage/llimageworker.cpp16
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;