summaryrefslogtreecommitdiff
path: root/apps/mudraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mudraw.c')
-rw-r--r--apps/mudraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c
index dac5f42e..7efb9aae 100644
--- a/apps/mudraw.c
+++ b/apps/mudraw.c
@@ -815,9 +815,9 @@ int main(int argc, char **argv)
}
}
- colorspace = fz_device_rgb;
+ colorspace = fz_device_rgb(ctx);
if (grayscale || output_format == OUT_PGM || output_format == OUT_PBM)
- colorspace = fz_device_gray;
+ colorspace = fz_device_gray(ctx);
timing.count = 0;
timing.total = 0;