aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fb/fbtrap.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-12-14 10:22:19 +0000
committermarha <marha@users.sourceforge.net>2009-12-14 10:22:19 +0000
commit9b17452909d3140fa33a753cadfaa6e9006b9685 (patch)
tree4abbb4b660ee9125cb0c20dab5a1c8de9f5a4a2d /xorg-server/fb/fbtrap.c
parent75d2bbcf0f39b9c85bc270728343f61dabebce2d (diff)
downloadvcxsrv-9b17452909d3140fa33a753cadfaa6e9006b9685.tar.gz
vcxsrv-9b17452909d3140fa33a753cadfaa6e9006b9685.tar.bz2
vcxsrv-9b17452909d3140fa33a753cadfaa6e9006b9685.zip
Git update 14/12/2009
Diffstat (limited to 'xorg-server/fb/fbtrap.c')
-rw-r--r--xorg-server/fb/fbtrap.c6
1 files changed, 4 insertions, 2 deletions
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;