summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/jni/mupdf.c4
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)