1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:07:23 +08:00

Disable high resolution texture lookup for legacy beatmap skins to match stable

This commit is contained in:
Salman Ahmed 2024-01-17 11:21:56 +03:00
parent 5ad2918a75
commit 98c65f36c9

View File

@ -22,6 +22,11 @@ namespace osu.Game.Skinning
protected override bool AllowManiaConfigLookups => false;
protected override bool UseCustomSampleBanks => true;
// matches stable. references:
// 1. https://github.com/peppy/osu-stable-reference/blob/dc0994645801010d4b628fff5ff79cd3c286ca83/osu!/Graphics/Textures/TextureManager.cs#L115-L137 (beatmap skin textures lookup)
// 2. https://github.com/peppy/osu-stable-reference/blob/dc0994645801010d4b628fff5ff79cd3c286ca83/osu!/Graphics/Textures/TextureManager.cs#L158-L196 (user skin textures lookup)
protected override bool AllowHighResolutionSprites => false;
/// <summary>
/// Construct a new legacy beatmap skin instance.
/// </summary>