summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-12-15 02:12:10 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-12-15 02:12:10 -0800
commit9cc380abb407537bd9d122b4b3f8aec945f9b897 (patch)
tree40a41a9fb7132fd41ab371f02478f2690ace6481 /src
parent39a9dc533ee259a62d5e9c9d2fd2833906bd073b (diff)
parent3991d3acf66152d8077a2b9d24773edac68f8df3 (diff)
downloadandroid_packages_wallpapers_HoloSpiral-9cc380abb407537bd9d122b4b3f8aec945f9b897.tar.gz
android_packages_wallpapers_HoloSpiral-9cc380abb407537bd9d122b4b3f8aec945f9b897.tar.bz2
android_packages_wallpapers_HoloSpiral-9cc380abb407537bd9d122b4b3f8aec945f9b897.zip
Merge "Update for Allocation API changes."
Diffstat (limited to 'src')
-rw-r--r--src/com/android/wallpaper/holospiral/HoloSpiralRS.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/wallpaper/holospiral/HoloSpiralRS.java b/src/com/android/wallpaper/holospiral/HoloSpiralRS.java
index f2b846c..51db6c6 100644
--- a/src/com/android/wallpaper/holospiral/HoloSpiralRS.java
+++ b/src/com/android/wallpaper/holospiral/HoloSpiralRS.java
@@ -180,8 +180,7 @@ public class HoloSpiralRS {
private void createTextures() {
Bitmap bmp = BitmapFactory.decodeResource(
mResources, R.drawable.points_red_green, null);
- Allocation pointTexture = Allocation.createFromBitmap(
- mRS, bmp, Element.RGB_565(mRS), false);
+ Allocation pointTexture = Allocation.createFromBitmap(mRS, bmp);
pointTexture.uploadToTexture(0);
mScript.set_gPointTexture(pointTexture);
}