SDL: Break out event processing from main loop

Makes things a bit easier to work with.
This commit is contained in:
Henrik Rydgård committed 2023-08-08 12:28:42 +02:00
1 parent 527e16c17a
commit 5ee04ce403
5 files changed
+434 -413

No files matched your search

+4
View File
@@ -80,6 +80,10 @@ void Core_NotifyWindowHidden(bool hidden) {
// TODO: Wait until we can react?
}
bool Core_IsWindowHidden() {
return windowHidden;
}
void Core_NotifyActivity() {
lastActivity = time_now_d();
}