diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-08-13 17:11:48 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2013-08-13 17:11:48 +0200 |
commit | 9ec2c4522d62b26e3034314e361f255fe044016c (patch) | |
tree | fc74d411ea9b35119b153dd59cd28a04520eab96 /src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java | |
parent | 675f7c51443e11d6ad89662d9f8124473cc0c148 (diff) | |
download | android_packages_wallpapers_PhotoPhase-9ec2c4522d62b26e3034314e361f255fe044016c.tar.gz android_packages_wallpapers_PhotoPhase-9ec2c4522d62b26e3034314e361f255fe044016c.tar.bz2 android_packages_wallpapers_PhotoPhase-9ec2c4522d62b26e3034314e361f255fe044016c.zip |
Aspect ratio correction (implementation) (#14)
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java')
-rw-r--r-- | src/org/cyanogenmod/wallpapers/photophase/utils/GLESUtil.java | 5 |
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 |