summaryrefslogtreecommitdiff
path: root/draw/draw_blend.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw/draw_blend.c')
-rw-r--r--draw/draw_blend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/draw_blend.c b/draw/draw_blend.c
index 3e5dd932..27888cfe 100644
--- a/draw/draw_blend.c
+++ b/draw/draw_blend.c
@@ -574,7 +574,7 @@ void
fz_blend_pixmap(fz_pixmap *dst, fz_pixmap *src, int alpha, int blendmode, int isolated, fz_pixmap *shape)
{
unsigned char *sp, *dp;
- fz_rect bbox;
+ fz_irect bbox;
int x, y, w, h, n;
/* TODO: fix this hack! */
@@ -590,7 +590,7 @@ fz_blend_pixmap(fz_pixmap *dst, fz_pixmap *src, int alpha, int blendmode, int is
}
bbox = fz_pixmap_bbox_no_ctx(dst);
- bbox = fz_intersect_rect(bbox, fz_pixmap_bbox_no_ctx(src));
+ bbox = fz_intersect_irect(bbox, fz_pixmap_bbox_no_ctx(src));
x = bbox.x0;
y = bbox.y0;