Advance pixel pointer in unrolled ImageDraw

This commit is contained in:
doyle 2020-07-04 19:42:08 +10:00
parent 2ea4958bf5
commit 8922e43dbb

View File

@ -246,6 +246,8 @@ void RaylibSIMD_ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dst
for (int x = 0; x < (int)srcRec.width; x++)
{
RaylibSIMD__SoftwareBlendPixel(src_ptr, dest_ptr, tint, src_alpha_min);
src_ptr += bytesPerPixelSrc;
dest_ptr += bytesPerPixelDst;
}
src_row += strideSrc;