Merge pull request #13244 from dreamsyntax/bugfix-double-osd-texture-messages

Core/VideoCommon: Fix duplicate OSD Custom Textures messages
This commit is contained in:
Admiral H. Curtiss 2025-01-12 16:16:09 +01:00 committed by GitHub
commit 3ea870ef8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 } // namespace
void HiresTexture::Init()
{
Update();
}
void HiresTexture::Shutdown() void HiresTexture::Shutdown()
{ {
Clear(); Clear();

View File

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

View File

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