aboutsummaryrefslogtreecommitdiff
path: root/pixman
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-04-28 07:27:44 +0000
committermarha <marha@users.sourceforge.net>2011-04-28 07:27:44 +0000
commit2ab09dc03e4ecc726ee7b5528306b0fe3e5b1837 (patch)
tree1e6113adb803560e13830cb7837c942b9e7feaf4 /pixman
parent100633b3e7619842f345cb7603b0db6b5761dd11 (diff)
downloadvcxsrv-2ab09dc03e4ecc726ee7b5528306b0fe3e5b1837.tar.gz
vcxsrv-2ab09dc03e4ecc726ee7b5528306b0fe3e5b1837.tar.bz2
vcxsrv-2ab09dc03e4ecc726ee7b5528306b0fe3e5b1837.zip
previous change was causing ploblems in the xorg xserver, causing corrupted display. So reverted the change.
Diffstat (limited to 'pixman')
-rw-r--r--pixman/pixman/pixman-trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pixman/pixman/pixman-trap.c b/pixman/pixman/pixman-trap.c
index f57d0caa9..5c066614e 100644
--- a/pixman/pixman/pixman-trap.c
+++ b/pixman/pixman/pixman-trap.c
@@ -432,7 +432,7 @@ pixman_composite_trapezoids (pixman_op_t op,
if (!pixman_trapezoid_valid (trap))
continue;
- pixman_rasterize_trapezoid (dst, trap, x_dst, y_dst);
+ pixman_rasterize_trapezoid (dst, trap, 0, 0);
}
}
else
@@ -495,9 +495,9 @@ pixman_composite_trapezoids (pixman_op_t op,
}
pixman_image_composite (op, src, tmp, dst,
- x_src + box.x1, y_src + box.y1,
+ x_src + box.x1 - x_dst, y_src + box.y1 - y_dst,
0, 0,
- x_dst + box.x1, y_dst + box.y1,
+ box.x1, box.y1,
box.x2 - box.x1, box.y2 - box.y1);
pixman_image_unref (tmp);