diff options
-rw-r--r-- | src/com/android/wallpaper/holospiral/HoloSpiralRS.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/wallpaper/holospiral/HoloSpiralRS.java b/src/com/android/wallpaper/holospiral/HoloSpiralRS.java index 46df13d..dfcf683 100644 --- a/src/com/android/wallpaper/holospiral/HoloSpiralRS.java +++ b/src/com/android/wallpaper/holospiral/HoloSpiralRS.java @@ -181,7 +181,9 @@ public class HoloSpiralRS { private void createTextures() { Bitmap bmp = BitmapFactory.decodeResource( mResources, R.drawable.points_red_green, null); - Allocation pointTexture = Allocation.createFromBitmap(mRS, bmp); + Allocation pointTexture = Allocation.createFromBitmap(mRS, bmp, + Allocation.MipmapControl.MIPMAP_NONE, + Allocation.USAGE_GRAPHICS_TEXTURE); mScript.set_gPointTexture(pointTexture); } |