diff options
Diffstat (limited to 'xorg-server/render/mipict.c')
-rw-r--r-- | xorg-server/render/mipict.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xorg-server/render/mipict.c b/xorg-server/render/mipict.c index 71f3de718..3dc04a88a 100644 --- a/xorg-server/render/mipict.c +++ b/xorg-server/render/mipict.c @@ -266,7 +266,7 @@ miChangePictureFilter (PicturePtr pPicture, #define BOUND(v) (INT16) ((v) < MINSHORT ? MINSHORT : (v) > MAXSHORT ? MAXSHORT : (v)) -static inline pixman_bool_t +static __inline pixman_bool_t miClipPictureReg (pixman_region16_t * pRegion, pixman_region16_t * pClip, int dx, @@ -318,14 +318,14 @@ miClipPictureSrc (RegionPtr pRegion, Bool result; pixman_region_translate ( pPicture->clientClip, - pPicture->clipOrigin.x - dx, - pPicture->clipOrigin.y - dy); + pPicture->clipOrigin.x + dx, + pPicture->clipOrigin.y + dy); result = REGION_INTERSECT (pScreen, pRegion, pRegion, pPicture->clientClip); pixman_region_translate ( pPicture->clientClip, - - (pPicture->clipOrigin.x - dx), - - (pPicture->clipOrigin.y - dy)); + - (pPicture->clipOrigin.x + dx), + - (pPicture->clipOrigin.y + dy)); if (!result) return FALSE; |