Merge pull request #9417 from Filoppi/input-1

Fix FPS counter and Game Window speed % breaking on pause/unpause
This commit is contained in:
Léo Lam
2021-05-07 15:08:01 +02:00
committed by GitHub
7 changed files with 125 additions and 31 deletions

View File

@ -224,7 +224,7 @@ int main(int argc, char* argv[])
return 1;
}
Core::SetOnStateChangedCallback([](Core::State state) {
Core::AddOnStateChangedCallback([](Core::State state) {
if (state == Core::State::Uninitialized)
s_platform->Stop();
});