summaryrefslogtreecommitdiff
path: root/src/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.cpp')
-rw-r--r--src/render.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render.cpp b/src/render.cpp
index 259d898..d1b9752 100644
--- a/src/render.cpp
+++ b/src/render.cpp
@@ -65,9 +65,10 @@ state_t::state_t(sf::RenderWindow *window_)
font.loadFromFile("assets/LiberationMono-Regular.ttf");
}
-void state_t::begin_frame(double time_)
+void state_t::begin_frame(double now_, double dt_)
{
- now = time_;
+ now = now_;
+ dt = dt_;
window->clear();
}