diff --git a/osu.Framework.Android/Graphics/Textures/AndroidTextureLoaderStore.cs b/osu.Framework.Android/Graphics/Textures/AndroidTextureLoaderStore.cs index 1f1730db4c..9b2ad4048f 100644 --- a/osu.Framework.Android/Graphics/Textures/AndroidTextureLoaderStore.cs +++ b/osu.Framework.Android/Graphics/Textures/AndroidTextureLoaderStore.cs @@ -17,7 +17,7 @@ public AndroidTextureLoaderStore(IResourceStore store) { } - protected override Image ImageFromStream(Stream stream) + protected override PremultipliedImage ImageFromStream(Stream stream) { using (var bitmap = BitmapFactory.DecodeStream(stream)) { @@ -34,7 +34,7 @@ protected override Image ImageFromStream(Stream stream) } bitmap.Recycle(); - return Image.LoadPixelData(result, bitmap.Width, bitmap.Height); + return PremultipliedImage.FromStraight(Image.LoadPixelData(result, bitmap.Width, bitmap.Height)); } } }