summaryrefslogtreecommitdiff
path: root/src/sna/blt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-16 20:33:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-16 20:33:57 +0100
commit8c35df4493c910ef62c66a411c14e5be3b26bcf0 (patch)
tree2e79ea1af4579301c5e56ac98ba356b5c28e608d /src/sna/blt.c
parent72ca1fdf2fea80ff4cf003bb025424d15d8bac58 (diff)
sna: Remove bad assert
The caller intentionally violates this assert, so it is useless. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/blt.c')
-rw-r--r--src/sna/blt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/blt.c b/src/sna/blt.c
index 1d5cace0..ac20372e 100644
--- a/src/sna/blt.c
+++ b/src/sna/blt.c
@@ -50,8 +50,6 @@ memcpy_blt(const void *src, void *dst, int bpp,
assert(width && height);
assert(bpp >= 8);
- assert((src_x + width) * bpp <= 8 * src_stride);
- assert((dst_x + width) * bpp <= 8 * dst_stride);
DBG(("%s: src=(%d, %d), dst=(%d, %d), size=%dx%d, pitch=%d/%d\n",
__FUNCTION__, src_x, src_y, dst_x, dst_y, width, height, src_stride, dst_stride));