diff options
Diffstat (limited to 'draw/draw_blend.c')
-rw-r--r-- | draw/draw_blend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/draw/draw_blend.c b/draw/draw_blend.c index 1bbf1dd5..c3d9bdff 100644 --- a/draw/draw_blend.c +++ b/draw/draw_blend.c @@ -574,8 +574,8 @@ void fz_blend_pixmap(fz_pixmap *dst, fz_pixmap *src, int alpha, int blendmode, int isolated, fz_pixmap *shape) { unsigned char *sp, *dp; - fz_bbox bbox; - fz_bbox bbox2; + fz_irect bbox; + fz_irect bbox2; int x, y, w, h, n; /* TODO: fix this hack! */ @@ -592,7 +592,7 @@ fz_blend_pixmap(fz_pixmap *dst, fz_pixmap *src, int alpha, int blendmode, int is fz_pixmap_bbox_no_ctx(dst, &bbox); fz_pixmap_bbox_no_ctx(src, &bbox2); - fz_intersect_bbox(&bbox, &bbox2); + fz_intersect_irect(&bbox, &bbox2); x = bbox.x0; y = bbox.y0; |