mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Fix TestCaseMenuButtonSystem not starting up
This commit is contained in:
parent
3764c1d799
commit
63aabc162b
@ -63,10 +63,11 @@ namespace osu.Game.Screens.Menu
|
||||
AccentColour = Color4.White;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(ShaderManager shaders, OsuGame game)
|
||||
{
|
||||
beatmap.BindTo(game.Beatmap);
|
||||
if (game?.Beatmap != null)
|
||||
beatmap.BindTo(game.Beatmap);
|
||||
shader = shaders?.Load(VertexShaderDescriptor.TEXTURE_2, FragmentShaderDescriptor.TEXTURE_ROUNDED);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user