Set a camera to inactive if cold

This commit is contained in:
2024-08-14 19:58:10 -04:00
parent 83434d8fb8
commit 0532d8fb34

View File

@@ -74,6 +74,7 @@ namespace fgl::engine
//TODO: Make some way to destroy the swapchain in a deffered manner.
m_old_swapchain = m_swapchain;
m_swapchain = nullptr;
m_active = false;
}
if ( !m_active ) return;