aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java')
-rw-r--r--src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java b/src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java
index 7f0cbbc..d2bd46e 100644
--- a/src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java
+++ b/src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java
@@ -166,6 +166,10 @@ public final class GLESUtil {
* The path to the texture
*/
public File path;
+ /**
+ * The effect to apply
+ */
+ public Effect effect;
}
/**
@@ -436,7 +440,6 @@ public final class GLESUtil {
if (effect != null) {
// Apply the effect
effect.apply(textureNames[0], screenDim.width(), screenDim.height(), textureNames[1]);
- effect.release();
handle = textureNames[1];
// Delete the unused texture