- Add Exit func

This commit is contained in:
2025-12-01 22:39:39 +01:00
parent 777b23f4c8
commit d136e6ac5e
3 changed files with 24 additions and 16 deletions

View File

@@ -7,7 +7,7 @@
namespace Amy {
void App::Run() {
pLast = Utils::GetTimeNano();
while (aptMainLoop()) {
while (aptMainLoop() && !pExit) {
ull c = Utils::GetTimeNano();
pDelta = static_cast<double>(static_cast<double>(c) -
static_cast<double>(pLast)) *