Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
This commit is contained in:
parent
2ec51ef358
commit
b1999a2a16
71 changed files with 651 additions and 651 deletions
|
@ -127,11 +127,11 @@ 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)) {
|
||||
width *= height;
|
||||
height = 1;
|
||||
}
|
||||
// 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;
|
||||
}
|
||||
while (height--) {
|
||||
memcpy(dstPtr, srcPtr, 2 * width);
|
||||
srcPtr += srcPitch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue