fix: use HiRes instead of ItemHighQuality by default on TextureManager

This commit is contained in:
goat 2023-08-02 18:43:41 +02:00
parent b6cfe33946
commit 8df9821f0e
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -75,7 +75,7 @@ internal class TextureManager : IDisposable, IServiceType, ITextureSubstitutionP
/// Null, if the icon does not exist in the specified configuration, or a texture wrap that can be used
/// to render the icon.
/// </returns>
public TextureManagerTextureWrap? GetIcon(uint iconId, ITextureProvider.IconFlags flags = ITextureProvider.IconFlags.ItemHighQuality, ClientLanguage? language = null, bool keepAlive = false)
public TextureManagerTextureWrap? GetIcon(uint iconId, ITextureProvider.IconFlags flags = ITextureProvider.IconFlags.HiRes, ClientLanguage? language = null, bool keepAlive = false)
{
var hiRes = flags.HasFlag(ITextureProvider.IconFlags.HiRes);