From 38b0234f0094c029e8cef4f9f0b47d8f68aa5bd9 Mon Sep 17 00:00:00 2001 From: dreamsyntax Date: Thu, 26 Dec 2024 17:21:02 -0700 Subject: [PATCH] Core/VideoCommon: Clear on HiresTexture::Init 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. --- Source/Core/VideoCommon/HiresTextures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 2f5fd93709f5..e8e0b818e92c 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -79,7 +79,7 @@ std::pair GetNameArbPair(const TextureInfo& texture_info) void HiresTexture::Init() { - Update(); + Clear(); } void HiresTexture::Shutdown()