summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-01 20:46:58 +0200
committerTor Andersson <tor@ghostscript.com>2010-07-01 20:46:58 +0200
commit37efe220c22bc39ccd12c7bd67878307132aa705 (patch)
tree9283d9a3a8a92511f436d8bd2a2e778dbd1dbbdf /draw
parent12b9d5d3bc563f7e341c4c4d0fdb9f435804a41a (diff)
downloadmupdf-37efe220c22bc39ccd12c7bd67878307132aa705.tar.xz
Remove unnecessary (and invalid) assert.
Diffstat (limited to 'draw')
-rw-r--r--draw/meshdraw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/draw/meshdraw.c b/draw/meshdraw.c
index 5e3ae02a..f1c5ccc2 100644
--- a/draw/meshdraw.c
+++ b/draw/meshdraw.c
@@ -323,8 +323,6 @@ fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, fz_bbox bbox)
int i, j, k;
int x, y;
- assert(dest->n == 4);
-
ctm = fz_concat(shade->matrix, ctm);
mesh = shade->mesh;