diff options
| author | Bobby Georgescu <georgescu@google.com> | 2012-09-04 11:51:56 -0700 |
|---|---|---|
| committer | Bobby Georgescu <georgescu@google.com> | 2012-09-04 11:51:56 -0700 |
| commit | f9f44521327cd5206f45755a7bb06fa4065ad4c4 (patch) | |
| tree | cd976bcaf12c45e3fd39151de41499dd2cf1106a /src | |
| parent | 61152454278c53d2251128779f18ac4fbac6a605 (diff) | |
| download | android_packages_apps_Snap-f9f44521327cd5206f45755a7bb06fa4065ad4c4.tar.gz android_packages_apps_Snap-f9f44521327cd5206f45755a7bb06fa4065ad4c4.tar.bz2 android_packages_apps_Snap-f9f44521327cd5206f45755a7bb06fa4065ad4c4.zip | |
Increase threshold for logging texture size warnings
Bug: 7094140
Change-Id: I0dc56dc92db6821527ceb71e49c3e83d818340c2
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/gallery3d/ui/BasicTexture.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/ui/BasicTexture.java b/src/com/android/gallery3d/ui/BasicTexture.java index 784b499ca..7b8e30de4 100644 --- a/src/com/android/gallery3d/ui/BasicTexture.java +++ b/src/com/android/gallery3d/ui/BasicTexture.java @@ -33,7 +33,8 @@ abstract class BasicTexture implements Texture { protected static final int STATE_LOADED = 1; protected static final int STATE_ERROR = -1; - private static final int MAX_TEXTURE_SIZE = 2048; + // Log a warning if a texture is larger along a dimension + private static final int MAX_TEXTURE_SIZE = 4096; protected int mId; protected int mState; |
