mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Fix exception.
This commit is contained in:
parent
5b323ad483
commit
89bfc0ff22
@ -78,7 +78,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ShaderManager shaders, TextureStore textures)
|
||||
{
|
||||
shader = shaders?.Load(@"CursorTrail", FragmentShaderDescriptor.Texture);
|
||||
shader = shaders?.Load(@"CursorTrail", FragmentShaderDescriptor.TEXTURE);
|
||||
texture = textures.Get(@"Cursor/cursortrail");
|
||||
Scale = new Vector2(1 / texture.ScaleAdjust);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user