1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 10:17:43 +08:00

Preload triangle shader on startup

This commit is contained in:
Dean Herbert 2023-03-28 14:15:38 +09:00
parent c742b3f0a8
commit 5dfac02b11

View File

@ -130,6 +130,10 @@ namespace osu.Game.Screens
loadTargets.Add(manager.Load(@"CursorTrail", FragmentShaderDescriptor.TEXTURE));
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, "TriangleBorder"));
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_3, FragmentShaderDescriptor.TEXTURE));
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_3, FragmentShaderDescriptor.TEXTURE));
}