ImageUtilities.cs: remove back compat thing as no released mod uses it

This commit is contained in:
JohnCorby 2023-04-24 14:52:56 -07:00
parent 8b9d5bea9d
commit 14c03c49b2

View File

@ -28,8 +28,6 @@ namespace NewHorizons.Utility.Files
return _loadedTextures.ContainsKey(path); return _loadedTextures.ContainsKey(path);
} }
// needed for backwards compat :P
public static Texture2D GetTexture(IModBehaviour mod, string filename, bool useMipmaps, bool wrap) => GetTexture(mod, filename, useMipmaps, wrap, false);
// bug: cache only considers file path, not wrap/mips/linear. oh well // bug: cache only considers file path, not wrap/mips/linear. oh well
public static Texture2D GetTexture(IModBehaviour mod, string filename, bool useMipmaps = true, bool wrap = false, bool linear = false) public static Texture2D GetTexture(IModBehaviour mod, string filename, bool useMipmaps = true, bool wrap = false, bool linear = false)
{ {