[PATCH xserver] EXA: fix typo

Peter Hutterer peter.hutterer at who-t.net
Wed Jun 15 23:08:24 PDT 2011


On Tue, Jun 14, 2011 at 11:45:38AM -0500, Rob Clark wrote:
> From: Rob Clark <robdclark at gmail.com>
> 
> The incorrect drawable deltas were applied if dst was a redirected
> window.  Resulting in a bogus region passed to prepare_access_reg().
> ---
>  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 bd533c4..3d5c4f5 100644
> --- a/exa/exa_unaccel.c
> +++ b/exa/exa_unaccel.c
> @@ -143,7 +143,7 @@ ExaCheckCopyNtoN (DrawablePtr pSrc, DrawablePtr pDst,  GCPtr pGC,
>  			       pGC->alu, pGC->clientClipType)) {
>  	PixmapPtr pPixmap = exaGetDrawablePixmap(pDst);
>  
> -	exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff);
> +	exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff);
>  	RegionInit(&reg, pbox, nbox);
>  	RegionTranslate(&reg, xoff, yoff);
>  	pExaScr->prepare_access_reg(pPixmap, EXA_PREPARE_DEST, &reg);
> -- 
> 1.7.4.1

please also send your Signed-off-by: for this patch. See also
http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches
 
Cheers,
  Peter


More information about the xorg-devel mailing list