diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 15:48:33 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 15:48:33 +0100 |
commit | 139d80bd65a164accf9d36d244d3d6a4c555aa47 (patch) | |
tree | 0390d124a0d6ed2b04317e8a35447169b6f2c62a /draw/draw_mesh.c | |
parent | 1eb721680865658ed8ff04e13c81eb6a32b2b44c (diff) | |
download | mupdf-139d80bd65a164accf9d36d244d3d6a4c555aa47.tar.xz |
Be consistent about passing a fz_context argument in pixmap functions.
Diffstat (limited to 'draw/draw_mesh.c')
-rw-r--r-- | draw/draw_mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/draw_mesh.c b/draw/draw_mesh.c index 06c1f55a..79bac732 100644 --- a/draw/draw_mesh.c +++ b/draw/draw_mesh.c @@ -546,7 +546,7 @@ fz_paint_shade(fz_context *ctx, fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, } conv = fz_new_pixmap_with_rect(ctx, dest->colorspace, bbox); temp = fz_new_pixmap_with_rect(ctx, fz_device_gray, bbox); - fz_clear_pixmap(temp); + fz_clear_pixmap(ctx, temp); } else { |