Skip to content

Commit

Permalink
change place where we call androidDestroyWindow();
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev committed Nov 15, 2021
1 parent 5c324c8 commit dc12019
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions engine/engine/src/engine_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ int engine_main(int argc, char *argv[])
glfwAndroidPollEvents();
dmTime::Sleep(0);
if (g_AndroidApp->destroyRequested) {
androidDestroyWindow();
break;
}
}
Expand Down
1 change: 0 additions & 1 deletion engine/glfw/lib/android/android_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ void glfwAndroidPollEvents()
}

if (_glfwWinAndroid.app->destroyRequested) {
androidDestroyWindow();
return;
}
}
Expand Down

0 comments on commit dc12019

Please sign in to comment.