mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Load menu backgrounds via LargeTextureStore to reduce memory usage
This commit is contained in:
parent
445f5c330b
commit
671141ec61
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user