diff options
-rw-r--r-- | src/com/android/galaxy4/GalaxyRS.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/galaxy4/GalaxyRS.java b/src/com/android/galaxy4/GalaxyRS.java index 292c06f..f6136ae 100644 --- a/src/com/android/galaxy4/GalaxyRS.java +++ b/src/com/android/galaxy4/GalaxyRS.java @@ -106,7 +106,9 @@ public class GalaxyRS { } 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; } |