Formatting

svn-id: r35173
This commit is contained in:
Filippos Karapetis 2008-11-29 18:19:39 +00:00
parent 8f3b2e9b4d
commit fead4f304f

View File

@ -127,9 +127,8 @@ void DestroyScalers(){
*/
void Normal1x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width, int height) {
/* Spot the case when it can all be done in 1 hit */
if (((int)srcPitch == 2*width) && ((int)dstPitch == 2*width))
{
// Spot the case when it can all be done in 1 hit
if (((int)srcPitch == 2 * width) && ((int)dstPitch == 2 * width)) {
width *= height;
height = 1;
}