diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 16:04:03 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 16:04:03 +0100 |
commit | f262a8c0bfae0cd90c2cd29acd409baf2157c241 (patch) | |
tree | 1a9f3a8c483e16c5d3d435d7c7143a6aa73b58e1 /draw/draw_device.c | |
parent | 139d80bd65a164accf9d36d244d3d6a4c555aa47 (diff) | |
download | mupdf-f262a8c0bfae0cd90c2cd29acd409baf2157c241.tar.xz |
Be consistent about passing a fz_context in path/text/shade functions.
Diffstat (limited to 'draw/draw_device.c')
-rw-r--r-- | draw/draw_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c index fa97ad1e..e3ddc09e 100644 --- a/draw/draw_device.c +++ b/draw/draw_device.c @@ -741,7 +741,7 @@ fz_draw_fill_shade(fz_device *devp, fz_shade *shade, fz_matrix ctm, float alpha) fz_draw_state *state = &dev->stack[dev->top]; fz_colorspace *model = state->dest->colorspace; - bounds = fz_bound_shade(shade, ctm); + bounds = fz_bound_shade(dev->ctx, shade, ctm); scissor = state->scissor; bbox = fz_intersect_bbox(fz_round_rect(bounds), scissor); |