summaryrefslogtreecommitdiff
path: root/draw/pathscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw/pathscan.c')
-rw-r--r--draw/pathscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/pathscan.c b/draw/pathscan.c
index dc6c6ff8..459dd306 100644
--- a/draw/pathscan.c
+++ b/draw/pathscan.c
@@ -476,9 +476,9 @@ blit(fz_pixmap *dest, int x, int y, unsigned char *mp, int w, unsigned char *col
dp = dest->samples + ( (y - dest->y) * dest->w + (x - dest->x) ) * dest->n;
if (color)
- fz_blendwithcolormask(dp, color, mp, dest->n, w);
+ fz_paintspancolor(dp, mp, dest->n, w, color);
else
- fz_blendmasks(dp, mp, w);
+ fz_paintspan(dp, mp, 1, w, 255);
}
fz_error