diff options
Diffstat (limited to 'src/com/android/noisefield/NoiseFieldRS.java')
-rw-r--r-- | src/com/android/noisefield/NoiseFieldRS.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/noisefield/NoiseFieldRS.java b/src/com/android/noisefield/NoiseFieldRS.java index ea74db4..60edb1b 100644 --- a/src/com/android/noisefield/NoiseFieldRS.java +++ b/src/com/android/noisefield/NoiseFieldRS.java @@ -161,7 +161,9 @@ public class NoiseFieldRS { } private Allocation loadTexture(int id) { - final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id); + final Allocation allocation = Allocation.createFromBitmapResource(mRS, mRes, id, + Allocation.MipmapControl.MIPMAP_NONE, + Allocation.USAGE_GRAPHICS_TEXTURE); return allocation; } |