diff options
Diffstat (limited to 'main/draw.cpp')
| -rw-r--r-- | main/draw.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 82c4efc9..2de8ff73 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -18,6 +18,8 @@ void app::drawEvent() { else _frame_time = dt; } + else + swapBuffers(), timeline.nextFrame(); { const float dt = std::clamp(timeline.previousFrameDuration(), 1e-3f, 1e-1f); |
