From 9b17452909d3140fa33a753cadfaa6e9006b9685 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 14 Dec 2009 10:22:19 +0000 Subject: Git update 14/12/2009 --- xorg-server/fb/fbtrap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xorg-server/fb/fbtrap.c') diff --git a/xorg-server/fb/fbtrap.c b/xorg-server/fb/fbtrap.c index b1e1eff4a..515e2e1c1 100644 --- a/xorg-server/fb/fbtrap.c +++ b/xorg-server/fb/fbtrap.c @@ -40,7 +40,8 @@ fbAddTraps (PicturePtr pPicture, int ntrap, xTrap *traps) { - pixman_image_t *image = image_from_pict (pPicture, FALSE, FALSE); + int image_xoff, image_yoff; + pixman_image_t *image = image_from_pict (pPicture, FALSE, &image_xoff, &image_yoff); if (!image) return; @@ -56,7 +57,8 @@ fbRasterizeTrapezoid (PicturePtr pPicture, int x_off, int y_off) { - pixman_image_t *image = image_from_pict (pPicture, FALSE, FALSE); + int mask_xoff, mask_yoff; + pixman_image_t *image = image_from_pict (pPicture, FALSE, &mask_xoff, &mask_yoff); if (!image) return; -- cgit v1.2.3