mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:00:05 +00:00
Add logging for unloaded fonts in case a similar error happens again.
This commit is contained in:
parent
f34a3e2145
commit
f7a55ec85b
1 changed files with 5 additions and 0 deletions
|
|
@ -1619,6 +1619,11 @@ void MapWidgetImpl::ImGuiCheckFonts()
|
||||||
ImGui_ImplOpenGL3_CreateFontsTexture();
|
ImGui_ImplOpenGL3_CreateFontsTexture();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!model::ImGuiContextModel::Instance().font_atlas()->IsBuilt())
|
||||||
|
{
|
||||||
|
logger_->error("ImGui font atlas could not be built.");
|
||||||
|
}
|
||||||
|
|
||||||
imGuiFontsBuildCount_ = currentImGuiFontsBuildCount;
|
imGuiFontsBuildCount_ = currentImGuiFontsBuildCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue