mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
ImageUtilities.cs: use default parameter for mipmaps instead of overload
This commit is contained in:
parent
46f34bcc18
commit
81b5a6b27d
@ -20,12 +20,7 @@ namespace NewHorizons.Utility
|
|||||||
return _loadedTextures.ContainsKey(path);
|
return _loadedTextures.ContainsKey(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Texture2D GetTexture(IModBehaviour mod, string filename)
|
public static Texture2D GetTexture(IModBehaviour mod, string filename, bool useMipmaps = true)
|
||||||
{
|
|
||||||
return GetTexture(mod, filename, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Texture2D GetTexture(IModBehaviour mod, string filename, bool useMipmaps)
|
|
||||||
{
|
{
|
||||||
// Copied from OWML but without the print statement lol
|
// Copied from OWML but without the print statement lol
|
||||||
var path = mod.ModHelper.Manifest.ModFolderPath + filename;
|
var path = mod.ModHelper.Manifest.ModFolderPath + filename;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user