summaryrefslogtreecommitdiff
path: root/apps/jstest_main.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-16 22:29:27 +0200
committerRobin Watts <robin.watts@artifex.com>2013-05-16 23:47:14 +0100
commit93bd1ff05bf315ed11b305d32eb510bd9a9a7e92 (patch)
tree10c2d846ed1193624a5119853bbc2ef9651e197c /apps/jstest_main.c
parent558ad511446cfa1d70891d9e7c9fb1ba942d3d9a (diff)
downloadmupdf-93bd1ff05bf315ed11b305d32eb510bd9a9a7e92.tar.xz
Add colorspace context.
To prepare for color management, we have to make the device colorspaces per-context and able to be overridden by users.
Diffstat (limited to 'apps/jstest_main.c')
-rw-r--r--apps/jstest_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/jstest_main.c b/apps/jstest_main.c
index 7ef197b9..84d4dc9b 100644
--- a/apps/jstest_main.c
+++ b/apps/jstest_main.c
@@ -320,7 +320,7 @@ main(int argc, char *argv[])
pdfapp_init(ctx, &gapp);
gapp.scrw = 640;
gapp.scrh = 480;
- gapp.colorspace = fz_device_rgb;
+ gapp.colorspace = fz_device_rgb(ctx);
fz_try(ctx)
{