Apply DrawNode parameter changes

This commit is contained in:
Dan Balasescu
2022-07-29 22:33:34 +09:00
parent 6703b8df02
commit 155dac55d0
7 changed files with 25 additions and 22 deletions

View File

@ -9,6 +9,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Batches;
using osu.Framework.Graphics.OpenGL.Vertices;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Graphics.Rendering;
using osu.Framework.Graphics.Shaders;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
@ -235,9 +236,9 @@ namespace osu.Game.Rulesets.Mods
flashlightDim = Source.FlashlightDim;
}
public override void Draw(Action<TexturedVertex2D> vertexAction)
public override void Draw(IRenderer renderer)
{
base.Draw(vertexAction);
base.Draw(renderer);
shader.Bind();