summaryrefslogtreecommitdiffstats
path: root/jni
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-04-18 18:43:29 -0700
committerJohn Hoford <hoford@google.com>2013-04-19 15:26:53 -0700
commit4f6bf7a888db6603a21eedae6f1ce4bd179d76b6 (patch)
treea18283287a6e58411d21cf208156dd01c1ada350 /jni
parente4f998bbf493636cf93554fbb2a3d90186e65b5f (diff)
downloadandroid_packages_apps_Snap-4f6bf7a888db6603a21eedae6f1ce4bd179d76b6.tar.gz
android_packages_apps_Snap-4f6bf7a888db6603a21eedae6f1ce4bd179d76b6.tar.bz2
android_packages_apps_Snap-4f6bf7a888db6603a21eedae6f1ce4bd179d76b6.zip
tiny planet fix
bug:8323524 Change-Id: I39283face7079574dbe25e797323a84141930f9a
Diffstat (limited to 'jni')
-rw-r--r--jni/filters/tinyplanet.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/jni/filters/tinyplanet.cc b/jni/filters/tinyplanet.cc
index a40470d34..beac0861a 100644
--- a/jni/filters/tinyplanet.cc
+++ b/jni/filters/tinyplanet.cc
@@ -80,6 +80,7 @@ inline void InterpolatePixel(const ImageRGBA &image, float x, float y,
ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
p++;
p2++;
+ dest[3] = 0xFF;
}
// Wrap circular coordinates around the globe