Fixed unclosable engine

This commit is contained in:
Antoine Pilote
2024-05-05 20:48:23 -04:00
parent a2f1611a54
commit f36a4f1ba2

View File

@@ -31,7 +31,7 @@ namespace Nuake {
void Application::Run()
{
while (m_Running)
while (!m_Window->ShouldClose())
{
for (auto& layer : m_LayerStack)
{