diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-02-09 10:11:52 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-02-09 10:11:52 +0000 |
commit | 3fff26e653b7c90e884fae449337766d3c2a309a (patch) | |
tree | 84a3aca1aea27591c5ddb3459b86c0c2de6eb929 | |
parent | c07d0087384a45db43b6efd2f6808b31d2e60c59 (diff) | |
download | mupdf-3fff26e653b7c90e884fae449337766d3c2a309a.tar.xz |
Update ios and Android projects with locking changes.
I forgot to update Android and iOS projects with the extra
arg to fz_new_context. Fixed here.
-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]; |