mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-08 15:20:45 +01:00
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:
parent
05cad38abc
commit
07f712f8a0
@ -77,11 +77,6 @@ std::pair<std::string, bool> GetNameArbPair(const TextureInfo& texture_info)
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void HiresTexture::Init()
|
||||
{
|
||||
Update();
|
||||
}
|
||||
|
||||
void HiresTexture::Shutdown()
|
||||
{
|
||||
Clear();
|
||||
|
@ -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();
|
||||
|
@ -99,8 +99,6 @@ TextureCacheBase::TextureCacheBase()
|
||||
TexDecoder_SetTexFmtOverlayOptions(m_backup_config.texfmt_overlay,
|
||||
m_backup_config.texfmt_overlay_center);
|
||||
|
||||
HiresTexture::Init();
|
||||
|
||||
TMEM::InvalidateAll();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user