Core/VideoCommon: Fix duplicate OSD Custom Textures messages

Resolves duplicate OSD messages for Loading and Found custom textures.
VideoBackend initialization results in HiresTexture::Init being called.
We already call HiresTexture::Update when OnNewTitleLoad is called.
Thus we can remove HiresTextures::Init completely as it is redundant.
This commit is contained in:
dreamsyntax 2024-12-26 17:21:02 -07:00
parent 05cad38abc
commit 07f712f8a0
3 changed files with 0 additions and 8 deletions

View File

@ -77,11 +77,6 @@ std::pair<std::string, bool> GetNameArbPair(const TextureInfo& texture_info)
}
} // namespace
void HiresTexture::Init()
{
Update();
}
void HiresTexture::Shutdown()
{
Clear();

View File

@ -22,7 +22,6 @@ std::set<std::string> GetTextureDirectoriesWithGameId(const std::string& root_di
class HiresTexture
{
public:
static void Init();
static void Update();
static void Clear();
static void Shutdown();

View File

@ -99,8 +99,6 @@ TextureCacheBase::TextureCacheBase()
TexDecoder_SetTexFmtOverlayOptions(m_backup_config.texfmt_overlay,
m_backup_config.texfmt_overlay_center);
HiresTexture::Init();
TMEM::InvalidateAll();
}