Skip to content

Commit

Permalink
Core/VideoCommon: Clear on HiresTexture::Init
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dreamsyntax committed Dec 27, 2024
1 parent 532a862 commit 38b0234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/HiresTextures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::pair<std::string, bool> GetNameArbPair(const TextureInfo& texture_info)

void HiresTexture::Init()
{
Update();
Clear();
}

void HiresTexture::Shutdown()
Expand Down

0 comments on commit 38b0234

Please sign in to comment.