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 7267d3501..b51805f1f 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 @@ -30,7 +30,7 @@ public class AndroidNativeImageLoader implements AssetLoader { InputStream in = null; try { in = info.openStream(); - return load(info.openStream(), flip, tmpArray); + return load(in, flip, tmpArray); } finally { if (in != null){ in.close();