Merge branch 'master' into more-updates

This commit is contained in:
Jasmine Iwanek
2022-02-20 16:28:50 -05:00
8 changed files with 92 additions and 143 deletions

View File

@@ -114,7 +114,7 @@ main_thread_fn()
}
} else {
/* Just so we dont overload the host OS. */
if (drawits < -1)
if (drawits < -1 || dopause)
std::this_thread::sleep_for(std::chrono::milliseconds(1));
else
std::this_thread::yield();