summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-01-11 22:22:06 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-11 22:30:59 +0100
commitbe1ed0692b49bc86ce512edc837fefc601d42443 (patch)
tree4850dc9af836113aacbe27f30b10e2e03beec9fb /ios
parent0e72a704c45d58faa75fa61a87f07c6f2207cd47 (diff)
downloadmupdf-be1ed0692b49bc86ce512edc837fefc601d42443.tar.xz
Set default values for alloc context and max store size if none are given.
Diffstat (limited to 'ios')
-rw-r--r--ios/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/main.m b/ios/main.m
index 3840fcad..612ca6b2 100644
--- a/ios/main.m
+++ b/ios/main.m
@@ -1386,7 +1386,7 @@ static UIImage *renderTile(struct document *doc, int number, CGSize screenSize,
queue = dispatch_queue_create("com.artifex.mupdf.queue", NULL);
// use at most 128M for resource cache
- ctx = fz_new_context(&fz_alloc_default, 128<<20);
+ ctx = fz_new_context(NULL, 128<<20);
glyphcache = fz_new_glyph_cache(ctx);