Merge pull request #13244 from dreamsyntax/bugfix-double-osd-texture-messages
Core/VideoCommon: Fix duplicate OSD Custom Textures messages
This commit is contained in:
commit
3ea870ef8c
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue