OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd6709
)
Fix Gallery glitch due to ColorTexture.
author
Owen Lin
<owenlin@google.com>
Tue, 19 Jun 2012 03:36:23 +0000
(11:36 +0800)
committer
Owen Lin
<owenlin@google.com>
Tue, 19 Jun 2012 03:46:16 +0000
(11:46 +0800)
Change the initial value of mTextureTarget to GL_TEXTURE_2D,
since it is default enabled.
bug:
6668616
Change-Id: I4bf475ca1a02fed3371e8223003a10e88ce8d519
src/com/android/gallery3d/ui/GLCanvasImpl.java
patch
|
blob
|
history
diff --git
a/src/com/android/gallery3d/ui/GLCanvasImpl.java
b/src/com/android/gallery3d/ui/GLCanvasImpl.java
index
ff3e9e5
..
45ea058
100644
(file)
--- a/
src/com/android/gallery3d/ui/GLCanvasImpl.java
+++ b/
src/com/android/gallery3d/ui/GLCanvasImpl.java
@@
-529,7
+529,7
@@
public class GLCanvasImpl implements GLCanvas {
private int mTexEnvMode = GL11.GL_REPLACE;
private float mTextureAlpha = 1.0f;
- private int mTextureTarget =
0
;
+ private int mTextureTarget =
GL11.GL_TEXTURE_2D
;
private boolean mBlendEnabled = true;
private float mLineWidth = 1.0f;
private boolean mLineSmooth = false;