Move frame delaying functions from Main to OS.

Will allow specific platforms to override it and avoid blocking on the
main/GUI thread.
This commit is contained in:
Fabio Alessandrelli 2020-06-29 20:46:21 +02:00
parent 84e9e58084
commit 1b6e3458b2
4 changed files with 40 additions and 34 deletions

View file

@ -38,7 +38,6 @@
class Main {
static void print_help(const char *p_binary);
static uint64_t last_ticks;
static uint64_t target_ticks;
static uint32_t frames;
static uint32_t frame;
static bool force_redraw_requested;