From c3666a968b1cfac61b7867874d5fbe2acd894720 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 26 Oct 2006 14:30:25 -0700 Subject: Don't write unused values beyond the end of scale_units array. --- src/i915_exa_render.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/i915_exa_render.c') diff --git a/src/i915_exa_render.c b/src/i915_exa_render.c index 3bc2c0b9..13fe3ee6 100644 --- a/src/i915_exa_render.c +++ b/src/i915_exa_render.c @@ -332,8 +332,6 @@ I915EXAPrepareComposite(int op, PicturePtr pSrcPicture, I915GetDestFormat(pDstPicture, &dst_format); dst_offset = exaGetPixmapOffset(pDst); dst_pitch = exaGetPixmapPitch(pDst); - scale_units[2][0] = pDst->drawable.width; - scale_units[2][1] = pDst->drawable.height; FS_LOCALS(20); if (!I915TextureSetup(pSrcPicture, pSrc, 0)) -- cgit v1.2.3