diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-08-13 07:47:21 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-08-13 07:47:21 +0000 |
commit | 24bed5cff908a6f8b1857e3dadac22d6db54c69e (patch) | |
tree | 192e78f3ac74f05ae428e6fd872ab895505e91ba /render | |
parent | 5825e4559e7aaf3b40205a0dca49a785c8de7b92 (diff) |
Fix copy'n'paste-os of x/y in CopyPicture for AlphaXOrigin and ClipXOrigin.
Diffstat (limited to 'render')
-rw-r--r-- | render/picture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/picture.c b/render/picture.c index 495fbff8b..e6c1a89a4 100644 --- a/render/picture.c +++ b/render/picture.c @@ -1206,13 +1206,13 @@ CopyPicture (PicturePtr pSrc, pDst->alphaMap = pSrc->alphaMap; break; case CPAlphaXOrigin: - pDst->alphaOrigin.x = pSrc->alphaOrigin.y; + pDst->alphaOrigin.x = pSrc->alphaOrigin.x; break; case CPAlphaYOrigin: pDst->alphaOrigin.y = pSrc->alphaOrigin.y; break; case CPClipXOrigin: - pDst->clipOrigin.x = pSrc->clipOrigin.y; + pDst->clipOrigin.x = pSrc->clipOrigin.x; break; case CPClipYOrigin: pDst->clipOrigin.y = pSrc->clipOrigin.y; |