[PATCH] [exa] Initialize src and mask offsets in exaTryDriverComposite()
Michel Dänzer
michel at daenzer.net
Sun Dec 6 23:21:41 PST 2009
On Sun, 2009-12-06 at 19:14 +0100, Tomas Carnecky wrote:
> Signed-off-by: Tomas Carnecky <tom at dbservice.com>
Acked-by: Michel Dänzer <michel at daenzer.net>
> ---
> exa/exa_render.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/exa/exa_render.c b/exa/exa_render.c
> index 1b68e1c..ae0ed26 100644
> --- a/exa/exa_render.c
> +++ b/exa/exa_render.c
> @@ -650,7 +650,7 @@ exaTryDriverComposite(CARD8 op,
> RegionRec region;
> BoxPtr pbox;
> int nbox;
> - int src_off_x, src_off_y, mask_off_x, mask_off_y, dst_off_x, dst_off_y;
> + int src_off_x = 0, src_off_y = 0, mask_off_x = 0, mask_off_y = 0, dst_off_x, dst_off_y;
> PixmapPtr pSrcPix = NULL, pMaskPix = NULL, pDstPix;
> ExaPixmapPrivPtr pSrcExaPix = NULL, pMaskExaPix = NULL, pDstExaPix;
>
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-devel
mailing list