diff options
author | Rob Clark <robdclark@gmail.com> | 2011-06-14 11:45:38 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-20 08:20:30 +1000 |
commit | a42ef6c940604172e54de110b7d989cb2208f7ef (patch) | |
tree | 3897ca56fcb74217c4097cf278e8aab5123256af /exa | |
parent | 778309fd0ef6b586468c1a3b569e3548503459ee (diff) |
EXA: fix typo
The incorrect drawable deltas were applied if dst was a redirected
window. Resulting in a bogus region passed to prepare_access_reg().
Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_unaccel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index 078b91c77..df416d5ac 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -143,7 +143,7 @@ ExaCheckCopyNtoN (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, RegionInitBoxes (®, pbox, nbox)) { PixmapPtr pPixmap = exaGetDrawablePixmap(pDst); - exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff); + exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff); RegionTranslate(®, xoff, yoff); pExaScr->prepare_access_reg(pPixmap, EXA_PREPARE_DEST, ®); RegionUninit(®); |