From 89aac97a4aa1542dcbdb238f97a24850ae71cc19 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Mon, 10 Nov 2014 23:27:56 -0500 Subject: [PATCH] Fix crash when using AndroidNativeImageLoader due to changed lib name --- .../com/jme3/texture/plugins/AndroidNativeImageLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jme3-android/src/main/java/com/jme3/texture/plugins/AndroidNativeImageLoader.java b/jme3-android/src/main/java/com/jme3/texture/plugins/AndroidNativeImageLoader.java index 9fd292679..7267d3501 100644 --- a/jme3-android/src/main/java/com/jme3/texture/plugins/AndroidNativeImageLoader.java +++ b/jme3-android/src/main/java/com/jme3/texture/plugins/AndroidNativeImageLoader.java @@ -17,10 +17,10 @@ import java.io.InputStream; */ public class AndroidNativeImageLoader implements AssetLoader { - private final byte[] tmpArray = new byte[1024]; + private final byte[] tmpArray = new byte[10 * 1024]; static { - System.loadLibrary("stbijme"); + System.loadLibrary("decodejme"); } private static native Image load(InputStream in, boolean flipY, byte[] tmpArray) throws IOException;