diff options
-rw-r--r-- | android/jni/mupdf.c | 2 | ||||
-rw-r--r-- | ios/main.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c index 8541dbfe..a1a82ca8 100644 --- a/android/jni/mupdf.c +++ b/android/jni/mupdf.c @@ -49,7 +49,7 @@ Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jf fz_accelerate(); /* 128 MB store for low memory devices. Tweak as necessary. */ - ctx = fz_new_context(NULL, 128 << 20); + ctx = fz_new_context(NULL, NULL, 128 << 20); if (!ctx) { LOGE("Failed to initialise context"); @@ -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]; |