winex11: Also take into account source offsets when a mask is around.
This commit is contained in:
parent
c6a290fa94
commit
d11b99b3aa
|
@ -1862,7 +1862,7 @@ static void xrender_blit(Picture src_pict, Picture mask_pict, Picture dst_pict,
|
|||
if(xscale != 1.0 || yscale != 1.0)
|
||||
{
|
||||
if(mask_pict)
|
||||
set_xrender_transformation(mask_pict, xscale, yscale, x_offset, y_offset);
|
||||
set_xrender_transformation(mask_pict, xscale, yscale, x_src + x_offset, y_src + y_offset);
|
||||
else
|
||||
set_xrender_transformation(src_pict, xscale, yscale, x_src + x_offset, y_src + y_offset);
|
||||
|
||||
|
|
Loading…
Reference in New Issue