Target rounded fragment shader

Compatibility with osu-framework change https://github.com/ppy/osu-framework/pull/5512
This commit is contained in:
Thomas Müller-Höhne
2022-11-12 17:05:29 +09:00
parent 918f19fd4a
commit fa8e38d9d6
5 changed files with 3 additions and 8 deletions

View File

@ -103,7 +103,7 @@ namespace osu.Game.Graphics.Backgrounds
private void load(IRenderer renderer, ShaderManager shaders)
{
texture = renderer.WhitePixel;
shader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, FragmentShaderDescriptor.TEXTURE_ROUNDED);
shader = shaders.Load(VertexShaderDescriptor.TEXTURE_2, FragmentShaderDescriptor.TEXTURE);
}
protected override void LoadComplete()