Currently we have a game thread and render thread.
Both of these could have a simulated deadline, where they repeat every x seconds. Then there is a busy-wait/spin loop until a new deadline has arrived after which the system can run once more.
This might be problematic with user input though
Currently we have a game thread and render thread. Both of these could have a simulated deadline, where they repeat every x seconds. Then there is a busy-wait/spin loop until a new deadline has arrived after which the system can run once more. This might be problematic with user input though