Commit d869aa5d authored by hybrid's avatar hybrid

Revert changes from last two commits regarding odd alignment

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4289 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 6978f503
......@@ -941,22 +941,15 @@ static void executeBlit_Color_16_to_16( const SBlitJob * job )
}
else
{
const s32 dx = job->width - 1;
s32 dx = job->width - 1;
for ( s32 dy = 0; dy != job->height; ++dy )
{
if ((((long)dst)&0x10)==0)
{
memset32(dst, c, job->srcPitch);
dst[dx] = c0;
}
else
{
dst[0] = c0;
memset32(dst+1, c, job->srcPitch);
}
memset32( dst, c, job->srcPitch );
dst[dx] = c0;
dst = (u16*) ( (u8*) (dst) + job->dstPitch );
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment