1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 01:00:27 +08:00

Merge pull request #9848 from peppy/menu-background-memory-usage

Load menu backgrounds via LargeTextureStore to reduce memory usage
This commit is contained in:
Dan Balasescu
2020-08-14 18:47:06 +09:00
committed by GitHub
Unverified
@@ -20,7 +20,7 @@ namespace osu.Game.Graphics.Backgrounds
}
[BackgroundDependencyLoader]
private void load(TextureStore textures)
private void load(LargeTextureStore textures)
{
Sprite.Texture = Beatmap?.Background ?? textures.Get(fallbackTextureName);
}