diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-11 14:04:00 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-11 14:04:00 +0100 |
commit | 7d181099272d9c0e92c4488ceaa95b0d8bd10f1e (patch) | |
tree | 22c134eae1ee467f64e3e14dc38d31c9a5a8aa03 /android | |
parent | 75ec5116bf42a3c4f7b436ab72901fea36d13811 (diff) | |
download | mupdf-7d181099272d9c0e92c4488ceaa95b0d8bd10f1e.tar.xz |
Purge unused and bit rotted fz_accelerate stuff, part 2.
Diffstat (limited to 'android')
-rw-r--r-- | android/jni/mupdf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c index a1a82ca8..3e471355 100644 --- a/android/jni/mupdf.c +++ b/android/jni/mupdf.c @@ -35,7 +35,6 @@ JNIEXPORT int JNICALL Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jfilename) { const char *filename; - int accelerate = 1; int pages = 0; filename = (*env)->GetStringUTFChars(env, jfilename, NULL); @@ -45,9 +44,6 @@ Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jf return 0; } - if (accelerate) - fz_accelerate(); - /* 128 MB store for low memory devices. Tweak as necessary. */ ctx = fz_new_context(NULL, NULL, 128 << 20); if (!ctx) |