aboutsummaryrefslogtreecommitdiff
path: root/engine/src/android/com/jme3/renderer/android/TextureUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/android/com/jme3/renderer/android/TextureUtil.java')
-rw-r--r--engine/src/android/com/jme3/renderer/android/TextureUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/android/com/jme3/renderer/android/TextureUtil.java b/engine/src/android/com/jme3/renderer/android/TextureUtil.java
index 53b96b4..4a60d6b 100644
--- a/engine/src/android/com/jme3/renderer/android/TextureUtil.java
+++ b/engine/src/android/com/jme3/renderer/android/TextureUtil.java
@@ -70,7 +70,7 @@ public class TextureUtil {
width /= 2;
Bitmap bitmap2 = Bitmap.createScaledBitmap(bitmap, width, height, true);
- bitmap.recycle();
+ //bitmap.recycle();
bitmap = bitmap2;
}
}
@@ -94,7 +94,7 @@ public class TextureUtil {
width = FastMath.nearestPowerOfTwo(width);
height = FastMath.nearestPowerOfTwo(height);
Bitmap bitmap2 = Bitmap.createScaledBitmap(bitmap, width, height, true);
- bitmap.recycle();
+ //bitmap.recycle();
bitmap = bitmap2;
}
}