Code cleanup

This commit is contained in:
2025-01-23 18:28:22 -05:00
parent 3c192764b2
commit e9affae3b3
29 changed files with 314 additions and 163 deletions

View File

@@ -78,6 +78,9 @@ namespace fgl::editor
EditorGuiContext::~EditorGuiContext()
{
ZoneScoped;
log::info( "Destroying EditorGUIContext" );
ImGui_ImplVulkan_Shutdown();
ImGui_ImplGlfw_Shutdown();
ImGui::DestroyContext();

View File

@@ -41,6 +41,8 @@ int main()
try
{
EngineContext engine_ctx {};
/*
EditorGuiContext editor_ctx { engine_ctx.getWindow() };
// We start by hooking into the imgui rendering.
@@ -88,6 +90,7 @@ int main()
}
engine_ctx.waitIdle();
*/
}
catch ( const vk::LayerNotPresentError& e )
{