Skip to content

Commit

Permalink
Reorganise with ruleset shader separated out
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Sep 27, 2024
1 parent 4205a21 commit 82c2123
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions osu.Game/Screens/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,11 @@ private void load(ShaderManager manager)
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, @"ArgonBarPathBackground"));
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, @"SaturationSelectorBackground"));
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, @"HueSelectorBackground"));
loadTargets.Add(manager.Load(@"LogoAnimation", @"LogoAnimation"));

// Ruleset local shader usage (should probably move somewhere else).
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, @"SpinnerGlow"));

loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_3, FragmentShaderDescriptor.TEXTURE));

loadTargets.Add(manager.Load(@"CursorTrail", FragmentShaderDescriptor.TEXTURE));
loadTargets.Add(manager.Load(@"LogoAnimation", @"LogoAnimation"));
}

protected virtual bool AllLoaded => loadTargets.All(s => s.IsLoaded);
Expand Down

0 comments on commit 82c2123

Please sign in to comment.