winex11: Also take into account source offsets when a mask is around.

This commit is contained in:
Roderick Colenbrander 2010-02-22 00:18:34 +01:00 committed by Alexandre Julliard
parent c6a290fa94
commit d11b99b3aa
1 changed files with 1 additions and 1 deletions

View File

@ -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);