summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}