Skip to content

Commit

Permalink
temporarily add back new frame logic until gui refactors are done (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archez committed Sep 13, 2024
1 parent 61c8860 commit 58e7659
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/window/gui/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ void Gui::UnblockImGuiGamepadNavigation() {
}

void Gui::DrawMenu() {
// TODO: These 3 functions are placed here temporarily until future GUI/Frame refactoring
// is finished and gives these a new home
ImGuiBackendNewFrame();
ImGuiWMNewFrame();
ImGui::NewFrame();

Context::GetInstance()->GetWindow()->GetGui()->GetGuiWindow("Console")->Update();

const std::shared_ptr<Window> wnd = Context::GetInstance()->GetWindow();
Expand Down

0 comments on commit 58e7659

Please sign in to comment.