summaryrefslogtreecommitdiff
path: root/source/fitz/draw-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r--source/fitz/draw-device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c
index 79886405..bcd93edb 100644
--- a/source/fitz/draw-device.c
+++ b/source/fitz/draw-device.c
@@ -1482,7 +1482,7 @@ fz_draw_begin_group(fz_device *devp, const fz_rect *rect, int isolated, int knoc
{
fz_draw_device *dev = devp->user;
fz_irect bbox;
- fz_pixmap *dest, *shape;
+ fz_pixmap *dest;
fz_context *ctx = dev->ctx;
fz_draw_state *state = &dev->stack[dev->top];
fz_colorspace *model = state->dest->colorspace;
@@ -1515,12 +1515,12 @@ fz_draw_begin_group(fz_device *devp, const fz_rect *rect, int isolated, int knoc
{
/* We can render direct to any existing shape plane.
* If there isn't one, we don't need to make one. */
- state[1].shape =shape = state[0].shape;
+ state[1].shape = state[0].shape;
}
else
{
- state[1].shape = shape = fz_new_pixmap_with_bbox(ctx, NULL, &bbox);
- fz_clear_pixmap(dev->ctx, shape);
+ state[1].shape = fz_new_pixmap_with_bbox(ctx, NULL, &bbox);
+ fz_clear_pixmap(dev->ctx, state[1].shape);
}
state[1].alpha = alpha;