Commit 27aae047 authored by hybrid's avatar hybrid

I think this one is better. Guess I should've searched for a test case...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4287 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8e50010b
...@@ -953,7 +953,7 @@ static void executeBlit_Color_16_to_16( const SBlitJob * job ) ...@@ -953,7 +953,7 @@ static void executeBlit_Color_16_to_16( const SBlitJob * job )
else else
{ {
dst[0] = c0; dst[0] = c0;
memset32(dst+1, c, job->srcPitch-1); memset32(dst+1, c, job->srcPitch);
} }
dst = (u16*) ( (u8*) (dst) + job->dstPitch ); 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