From 5619ae36c8e9dafc45d96dd81646ebd2f7bf7d6a Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 10 Jul 2023 14:36:44 -0500 Subject: [PATCH] GUI: set bigFont on font loading failure issue #1228 --- src/gui/gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index dd760e0fc..bd75fce85 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -5978,6 +5978,7 @@ bool FurnaceGUI::loop() { ImGui::GetIO().Fonts->Clear(); mainFont=ImGui::GetIO().Fonts->AddFontDefault(); patFont=mainFont; + bigFont=mainFont; if (rend) rend->destroyFontsTexture(); if (!ImGui::GetIO().Fonts->Build()) { logE("error again while building font atlas!");