diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-11-27 13:12:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-11-27 13:12:14 -0800 |
commit | 176b81826cb382252768f1e163c16a2304a549ed (patch) | |
tree | 46924524d2adca648b27037270d2d5c4d40401e3 | |
parent | 356fed8a24ce1bf3c51abd8013427670135620ee (diff) | |
parent | 60e1023f0ba5f78e2466799a96ad90edb01d6704 (diff) | |
download | text.love-176b81826cb382252768f1e163c16a2304a549ed.tar.gz |
Merge lines.love
-rw-r--r-- | app.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app.lua b/app.lua index 62ecd38..212f755 100644 --- a/app.lua +++ b/app.lua @@ -32,14 +32,14 @@ function love.run() end end - -- draw before update to give it a chance to mutate state + dt = love.timer.step() + App.update(dt) + love.graphics.origin() love.graphics.clear(love.graphics.getBackgroundColor()) App.draw() love.graphics.present() - dt = love.timer.step() - App.update(dt) love.timer.sleep(0.001) end end |