mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Move QuadBatch to a local variable to stop resharper complaining
This commit is contained in:
parent
606e977e2d
commit
c6d481238d
@ -155,12 +155,13 @@ namespace osu.Game.Rulesets.Mods
|
||||
private Vector2 flashlightSize;
|
||||
private float flashlightDim;
|
||||
|
||||
private readonly VertexBatch<PositionAndColourVertex> quadBatch = new QuadBatch<PositionAndColourVertex>(1, 1);
|
||||
private readonly Action<TexturedVertex2D> addAction;
|
||||
|
||||
public FlashlightDrawNode(Flashlight source)
|
||||
: base(source)
|
||||
{
|
||||
var quadBatch = new QuadBatch<PositionAndColourVertex>(1, 1);
|
||||
|
||||
addAction = v => quadBatch.Add(new PositionAndColourVertex
|
||||
{
|
||||
Position = v.Position,
|
||||
|
Loading…
Reference in New Issue
Block a user