Make quit button work.
PiperOrigin-RevId: 858624789 Change-Id: Ibdd572b60273424f3b7e9bb6a9d117d2a0538227
This commit is contained in:
committed by
Copybara-Service
parent
a0accc493a
commit
bf05bb1885
@@ -339,7 +339,7 @@ bool App::Update() {
|
|||||||
UpdatePhysics();
|
UpdatePhysics();
|
||||||
}
|
}
|
||||||
|
|
||||||
return status == platform::Window::Status::kRunning;
|
return status == platform::Window::Status::kRunning && !tmp_.should_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
void App::Render() {
|
void App::Render() {
|
||||||
|
|||||||
Reference in New Issue
Block a user