From 87aa8333a856772a92c28e825f500cb7a13f2b0b Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 2 Feb 2022 21:03:58 +1000 Subject: [PATCH] ImGuiManager: Fix double init of font texture --- pcsx2/Frontend/ImGuiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Frontend/ImGuiManager.cpp b/pcsx2/Frontend/ImGuiManager.cpp index 52be9649d4..18fd1d0762 100644 --- a/pcsx2/Frontend/ImGuiManager.cpp +++ b/pcsx2/Frontend/ImGuiManager.cpp @@ -138,7 +138,7 @@ void ImGuiManager::UpdateScale() SetImGuiStyle(); ImGui::GetStyle().ScaleAllSizes(scale); - if (!AddImGuiFonts() || !display->UpdateImGuiFontTexture()) + if (!AddImGuiFonts()) pxFailRel("Failed to create ImGui font text"); if (!display->UpdateImGuiFontTexture())