update Dear ImGui to 1.92.2

the upgrade process is done, but a lot of fixes need to be worked on
This commit is contained in:
tildearrow 2025-08-13 15:08:45 -05:00
parent 3f22b50c96
commit 08764e0e88
41 changed files with 4837 additions and 1227 deletions

View file

@ -6516,7 +6516,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
// prepare
#ifdef HAVE_FREETYPE
if (settings.fontBackend==1) {
ImGui::GetIO().Fonts->FontLoader=ImGuiFreeType::GetFontLoader();
ImGui::GetIO().Fonts->SetFontLoader(ImGuiFreeType::GetFontLoader());
ImGui::GetIO().Fonts->FontLoaderFlags&=~(
ImGuiFreeTypeLoaderFlags_NoHinting|
ImGuiFreeTypeLoaderFlags_NoAutoHint|
@ -6558,7 +6558,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
break;
}
} else {
ImGui::GetIO().Fonts->FontLoader=ImFontAtlasGetFontLoaderForStbTruetype();
ImGui::GetIO().Fonts->SetFontLoader(ImFontAtlasGetFontLoaderForStbTruetype());
}
#endif