Allow for disabling ImGui

This commit is contained in:
2024-03-08 13:47:31 -05:00
parent 1d3bf00316
commit 7bb1ee0074
3 changed files with 56 additions and 28 deletions

View File

@@ -139,9 +139,11 @@ namespace fgl::engine
#if ENABLE_IMGUI
{
std::cout << "Starting ImGui frame" << std::endl;
ImGui_ImplVulkan_NewFrame();
ImGui_ImplGlfw_NewFrame();
ImGui::NewFrame();
std::cout << "Started ImGui frame" << std::endl;
}
#endif