mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 00:47:24 +08:00
Fix test function override
This commit is contained in:
parent
c59d750420
commit
800c46f752
@ -4,6 +4,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
|
using osu.Framework.Graphics.OpenGL.Textures;
|
||||||
using osu.Framework.Graphics.Textures;
|
using osu.Framework.Graphics.Textures;
|
||||||
using osu.Game.Skinning;
|
using osu.Game.Skinning;
|
||||||
|
|
||||||
@ -103,7 +104,7 @@ namespace osu.Game.Tests.NonVisual.Skinning
|
|||||||
Textures = fileNames.ToDictionary(fileName => fileName, fileName => new Texture(1, 1));
|
Textures = fileNames.ToDictionary(fileName => fileName, fileName => new Texture(1, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Texture Get(string name) => Textures.GetValueOrDefault(name);
|
public override Texture Get(string name, WrapMode wrapModeS, WrapMode wrapModeT) => Textures.GetValueOrDefault(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user