From f36a4f1ba262ae3f7019c19868b3c98e0d25488c Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sun, 5 May 2024 20:48:23 -0400 Subject: [PATCH] Fixed unclosable engine --- Nuake/src/Application/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nuake/src/Application/Application.cpp b/Nuake/src/Application/Application.cpp index aff46aeb..597061e4 100644 --- a/Nuake/src/Application/Application.cpp +++ b/Nuake/src/Application/Application.cpp @@ -31,7 +31,7 @@ namespace Nuake { void Application::Run() { - while (m_Running) + while (!m_Window->ShouldClose()) { for (auto& layer : m_LayerStack) {