diff options
author | Owen Lin <owenlin@google.com> | 2010-03-18 20:45:12 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2010-03-19 18:27:07 +0800 |
commit | ae7c3e5050bd58f57bd107cf3205f960988543fe (patch) | |
tree | 66632cb8db17cf46bf39d5450aa70ab19680d914 /src/com/android/camera/ui/NinePatchTexture.java | |
parent | e41d75cb3d3ee51033c40a1a53c5edf313038e9b (diff) | |
download | LegacyCamera-ae7c3e5050bd58f57bd107cf3205f960988543fe.zip LegacyCamera-ae7c3e5050bd58f57bd107cf3205f960988543fe.tar.gz LegacyCamera-ae7c3e5050bd58f57bd107cf3205f960988543fe.tar.bz2 |
Fix the zoom indicator not updated issue.
Bug: 2524432
Change-Id: I92bbbb5cc309ae8c1fff2df42691f8111a2d71f4
Diffstat (limited to 'src/com/android/camera/ui/NinePatchTexture.java')
-rw-r--r-- | src/com/android/camera/ui/NinePatchTexture.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/NinePatchTexture.java b/src/com/android/camera/ui/NinePatchTexture.java index 5993cd4..60d6f30 100644 --- a/src/com/android/camera/ui/NinePatchTexture.java +++ b/src/com/android/camera/ui/NinePatchTexture.java @@ -35,7 +35,7 @@ public class NinePatchTexture extends FrameTexture { @Override protected boolean bind(GLRootView root, GL11 gl) { if (mLastWidth != mWidth || mLastHeight != mHeight) { - if (mDelegate != null) mDelegate.deleteFromGL(gl); + if (mDelegate != null) mDelegate.deleteFromGL(); mDelegate = new MyTexture(mWidth, mHeight); mLastWidth = mWidth; mLastHeight = mHeight; |