diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-03-26 14:19:50 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-03-26 14:19:50 +0200 |
commit | a016a156e76f7394c5632da325ab0b453cfb3b37 (patch) | |
tree | d25fe29ebe10f0d921b06d1860565fedd577ca72 /src/render.cpp | |
parent | 2ae4b0ff77a2b2be2c485ac3ba6c1ef3facb874c (diff) |
Independent game timing.
Diffstat (limited to 'src/render.cpp')
-rw-r--r-- | src/render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |