summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/NinePatchTexture.java
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2010-03-18 20:45:12 +0800
committerOwen Lin <owenlin@google.com>2010-03-19 18:27:07 +0800
commitae7c3e5050bd58f57bd107cf3205f960988543fe (patch)
tree66632cb8db17cf46bf39d5450aa70ab19680d914 /src/com/android/camera/ui/NinePatchTexture.java
parente41d75cb3d3ee51033c40a1a53c5edf313038e9b (diff)
downloadLegacyCamera-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.java2
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;