mirror of https://github.com/PCSX2/pcsx2.git
ImGuiManager: Fix double init of font texture
This commit is contained in:
parent
f1de985304
commit
87aa8333a8
|
@ -138,7 +138,7 @@ void ImGuiManager::UpdateScale()
|
||||||
SetImGuiStyle();
|
SetImGuiStyle();
|
||||||
ImGui::GetStyle().ScaleAllSizes(scale);
|
ImGui::GetStyle().ScaleAllSizes(scale);
|
||||||
|
|
||||||
if (!AddImGuiFonts() || !display->UpdateImGuiFontTexture())
|
if (!AddImGuiFonts())
|
||||||
pxFailRel("Failed to create ImGui font text");
|
pxFailRel("Failed to create ImGui font text");
|
||||||
|
|
||||||
if (!display->UpdateImGuiFontTexture())
|
if (!display->UpdateImGuiFontTexture())
|
||||||
|
|
Loading…
Reference in New Issue