summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2006-11-29 17:16:46 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2006-11-29 17:16:46 +0800
commitdb391e8e4c4d87bfe3ccad0de14dd5b47b69b8fe (patch)
tree308dea6db0b0be6cb41e8c410f426cff47b40784
parent290f15cd4cda97727ebcaadacbbbf7650278934b (diff)
shut up warning
-rw-r--r--src/i965_exa_render.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/i965_exa_render.c b/src/i965_exa_render.c
index 6f2bc84c..2d1ce5ff 100644
--- a/src/i965_exa_render.c
+++ b/src/i965_exa_render.c
@@ -1011,10 +1011,8 @@ I965EXAComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY,
srcXend = srcX + w;
srcYend = srcY + h;
- if (pMask) {
- maskXend = maskX + w;
- maskYend = maskY + h;
- }
+ maskXend = maskX + w;
+ maskYend = maskY + h;
if (is_transform[0]) {
v.vector[0] = IntToxFixed(srcX);
v.vector[1] = IntToxFixed(srcY);