From d1033005ae944f86e73c4d1795a4298f6894d5d4 Mon Sep 17 00:00:00 2001 From: iwgeric Date: Mon, 24 Mar 2014 00:48:30 -0400 Subject: [PATCH] Change AndroidAssetManager to use the native lib to load png and gif files --- .../src/main/java/com/jme3/asset/AndroidAssetManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jme3-android/src/main/java/com/jme3/asset/AndroidAssetManager.java b/jme3-android/src/main/java/com/jme3/asset/AndroidAssetManager.java index 5d58dd421..05dfdb1f5 100644 --- a/jme3-android/src/main/java/com/jme3/asset/AndroidAssetManager.java +++ b/jme3-android/src/main/java/com/jme3/asset/AndroidAssetManager.java @@ -83,7 +83,8 @@ public class AndroidAssetManager extends DesktopAssetManager { registerLocator("", AndroidLocator.class); registerLocator("", ClasspathLocator.class); - registerLoader(AndroidImageLoader.class, "jpg", "bmp", "gif", "png", "jpeg"); + registerLoader(AndroidImageLoader.class, "jpg", "bmp", "jpeg"); + registerLoader(AndroidImageLoader.class, "gif", "png"); if (JmeAndroidSystem.getAudioRendererType().equals(AppSettings.ANDROID_MEDIAPLAYER)) { registerLoader(AndroidAudioLoader.class, "ogg", "mp3", "wav"); } else if (JmeAndroidSystem.getAudioRendererType().equals(AppSettings.ANDROID_OPENAL_SOFT)) {