From a016a156e76f7394c5632da325ab0b453cfb3b37 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 26 Mar 2018 14:19:50 +0200 Subject: Independent game timing. --- src/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render.cpp') diff --git a/src/render.cpp b/src/render.cpp index 8ad0e25..7a798ab 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -55,9 +55,9 @@ void register_tile(uint8_t type, const char *top, const char *side, float height } -void state_t::begin_frame(double now_, double dt_) +void state_t::begin_frame(ntime_t time_, double dt_) { - now = now_; + time = time_; dt = dt_; window->clear(); -- cgit