Merge pull request #731 from smoogipooo/general-fixes

Update framework.
This commit is contained in:
Dean Herbert
2017-05-09 21:06:40 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}