summaryrefslogtreecommitdiff
path: root/src/i915_exa_render.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-10-26 14:30:25 -0700
committerEric Anholt <eric@anholt.net>2006-10-26 14:30:25 -0700
commitc3666a968b1cfac61b7867874d5fbe2acd894720 (patch)
treefc095cc40935c77da8c5ffa941a4b0fd3dfe841b /src/i915_exa_render.c
parentf272f0d811f9ee059e8f8617a516e6c8bff917a1 (diff)
Don't write unused values beyond the end of scale_units array.
Diffstat (limited to 'src/i915_exa_render.c')
-rw-r--r--src/i915_exa_render.c2
1 files changed, 0 insertions, 2 deletions
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))