diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/draw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index dc00561b..9146b3e2 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -160,7 +160,7 @@ fz_knockout_begin(fz_draw_device *dev) fz_clear_pixmap(ctx, dest); } - if (state->blendmode == 0 && isolated) + if ((state->blendmode & FZ_BLEND_MODEMASK) == 0 && isolated) { /* We can render direct to any existing shape plane. If there * isn't one, we don't need to make one. */ |