Restore gfx_render_bmp_argb too.

This commit is contained in:
balika011 2018-08-25 20:48:39 +02:00
parent ad59ae736e
commit a179199862

View file

@ -519,6 +519,6 @@ void gfx_render_bmp_argb(gfx_ctxt_t *ctxt, const u32 *buf, u32 size_x, u32 size_
for (u32 y = pos_y; y < (pos_y + size_y); y++)
{
for (u32 x = pos_x; x < (pos_x + size_x); x++)
gfx_set_pixel(ctxt, x, y, buf[(size_y + pos_y - 1 - y ) * size_x + x - pos_x]);
ctxt->fb[x + y * ctxt->stride] = buf[x - pos_x + (size_y + pos_y - 1 - y ) * size_x];
}
}