From ac56cc7292b6f06f763db9cd50bf67684961239d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 7 Nov 2016 09:58:25 +0000 Subject: Fix DUMP_GROUP_BLENDS debugging code. fz_save_pixmap_as_png has changed signature since this was last used. --- source/fitz/draw-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index f587d38e..1947115c 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -189,7 +189,7 @@ static void fz_dump_blend(fz_context *ctx, fz_pixmap *pix, const char *s) printf("%s%02d", s, group_dump_count); group_dump_count++; - fz_save_pixmap_as_png(ctx, pix, name, (pix->n > 1)); + fz_save_pixmap_as_png(ctx, pix, name); } static void dump_spaces(int x, const char *s) @@ -1841,7 +1841,7 @@ fz_draw_begin_mask(fz_context *ctx, fz_device *devp, const fz_rect *rect, int lu } #ifdef DUMP_GROUP_BLENDS - dump_spaces(dev->top-1, "Mask begin"); + dump_spaces(dev->top-1, "Mask begin\n"); #endif state[1].scissor = bbox; } -- cgit v1.2.3