diff --git a/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp b/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp index 50179e38..db6c6402 100644 --- a/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp +++ b/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp @@ -988,6 +988,8 @@ namespace Walnut { // Present Main Platform Window if (!main_is_minimized) FramePresent(wd); + else + std::this_thread::sleep_for(std::chrono::milliseconds(5)); float time = GetTime(); m_FrameTime = time - m_LastFrameTime;