summaryrefslogtreecommitdiff
path: root/fitz/res_shade.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-02-03 16:04:03 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-02-03 16:04:03 +0100
commitf262a8c0bfae0cd90c2cd29acd409baf2157c241 (patch)
tree1a9f3a8c483e16c5d3d435d7c7143a6aa73b58e1 /fitz/res_shade.c
parent139d80bd65a164accf9d36d244d3d6a4c555aa47 (diff)
downloadmupdf-f262a8c0bfae0cd90c2cd29acd409baf2157c241.tar.xz
Be consistent about passing a fz_context in path/text/shade functions.
Diffstat (limited to 'fitz/res_shade.c')
-rw-r--r--fitz/res_shade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/res_shade.c b/fitz/res_shade.c
index 34fba64d..3fdf2e15 100644
--- a/fitz/res_shade.c
+++ b/fitz/res_shade.c
@@ -24,7 +24,7 @@ fz_drop_shade(fz_context *ctx, fz_shade *shade)
}
fz_rect
-fz_bound_shade(fz_shade *shade, fz_matrix ctm)
+fz_bound_shade(fz_context *ctx, fz_shade *shade, fz_matrix ctm)
{
float *v;
fz_rect r, s;
@@ -68,7 +68,7 @@ fz_bound_shade(fz_shade *shade, fz_matrix ctm)
}
void
-fz_debug_shade(fz_shade *shade)
+fz_debug_shade(fz_context *ctx, fz_shade *shade)
{
int i, j, n;
float *vertex;