aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java')
-rw-r--r--src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java b/src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java
index f17b986..e44e250 100644
--- a/src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java
+++ b/src/com/ruesga/android/wallpapers/photophase/PhotoPhaseWallpaperWorld.java
@@ -22,7 +22,6 @@ import android.graphics.PointF;
import android.graphics.RectF;
import android.util.Log;
-import com.ruesga.android.wallpapers.photophase.utils.GLESUtil.GLESTextureInfo;
import com.ruesga.android.wallpapers.photophase.model.Disposition;
import com.ruesga.android.wallpapers.photophase.preferences.PreferencesProvider.Preferences;
import com.ruesga.android.wallpapers.photophase.transitions.Transition;
@@ -237,18 +236,6 @@ public class PhotoPhaseWallpaperWorld {
mUnusedTransitions.remove(i);
}
}
- if (mPhotoFrames != null) {
- int cc = mPhotoFrames.size() - 1;
- for (int i = cc; i >= 0; i--) {
- PhotoFrame frame = mPhotoFrames.get(i);
- GLESTextureInfo info = frame.getTextureInfo();
- if (info != null && info.bitmap != null) {
- mTextureManager.releaseBitmap(info);
- }
- frame.recycle();
- mPhotoFrames.remove(i);
- }
- }
if (mTransitionsQueue != null) {
mTransitionsQueue.clear();
}