mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:47:24 +08: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