Skip to content

Commit

Permalink
Fixed unclosable engine
Browse files Browse the repository at this point in the history
  • Loading branch information
antopilo committed May 6, 2024
1 parent a2f1611 commit f36a4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nuake/src/Application/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Nuake {

void Application::Run()
{
while (m_Running)
while (!m_Window->ShouldClose())
{
for (auto& layer : m_LayerStack)
{
Expand Down

0 comments on commit f36a4f1

Please sign in to comment.