summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fitz/dev_draw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c
index d49e62eb..ceceb8e0 100644
--- a/fitz/dev_draw.c
+++ b/fitz/dev_draw.c
@@ -214,8 +214,6 @@ void fz_drawclippath(void *user, fz_path *path)
bbox = fz_boundgel(dev->gel);
bbox = fz_intersectirects(bbox, clip);
- if (fz_isemptyrect(bbox))
- return;
mask = fz_newpixmapwithrect(bbox, 1);
dest = fz_newpixmapwithrect(bbox, 4);