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
commit91d26f6c3b183862eeffc1856e2d758e800d13f4 (patch)
treefee703f142423210960b1ae21e514a4e87a518d4 /jni
parenteeb5b71b03dbe1b6e43528bdeafe1cc23089be0e (diff)
downloadandroid_packages_apps_Gallery2-91d26f6c3b183862eeffc1856e2d758e800d13f4.tar.gz
android_packages_apps_Gallery2-91d26f6c3b183862eeffc1856e2d758e800d13f4.tar.bz2
android_packages_apps_Gallery2-91d26f6c3b183862eeffc1856e2d758e800d13f4.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