diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-10 09:03:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-10 10:35:00 +0200 |
commit | 8c2dca2cfaf57f22fe2fe84d939d0071c06ddd6c (patch) | |
tree | 5b94a0580c6bedc38ff7da1d70c793ace211cc04 /main | |
parent | 42214976648e768d0a525dd6e5f84a1f300c25ae (diff) |
ffff
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 56f4b61e..6894973e 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -198,8 +198,9 @@ void main_impl::do_update() const float alpha = 1/(1 + RC); _frame_time = _frame_time*(1-alpha) + alpha*dt; } + static size_t ctr = 0; if (dt >= 1.f/55 && dt_expected.value < 1e-1f) - fm_debug("frame took %.1f milliseconds", dt*1e3f); + fm_debug("%zu frame took %.1f milliseconds", ctr++, dt*1e3f); } else { |