Skip to content

Commit

Permalink
Fix default font again
Browse files Browse the repository at this point in the history
  • Loading branch information
Benualdo committed Sep 14, 2024
1 parent be63247 commit d39b1b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/RenderPass/ImGui/ImGuiAdapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ namespace vg::renderer
void ImGuiAdapter::PushDefaultFont()
{
ImGui::PushFont(GetFont(s_defaultFont, s_defaultFontStyle));
m_currentFont = s_defaultFont;
m_currentFontStyle = s_defaultFontStyle;
}

//--------------------------------------------------------------------------------------
Expand Down

0 comments on commit d39b1b1

Please sign in to comment.