summaryrefslogtreecommitdiff
path: root/ios/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'ios/main.m')
-rw-r--r--ios/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/main.m b/ios/main.m
index fa85178d..4901a2c5 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(NULL, 128<<20);
+ ctx = fz_new_context(NULL, NULL, 128<<20);
screenScale = [[UIScreen mainScreen] scale];