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 authored and GitHub committed 2021-05-07 15:08:01 +02:00
commit 049b92b7ef
7 files changed
+125 -31

No files matched your search

+1 -1
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();
});