diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-20 18:11:16 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-20 18:11:16 +0100 |
commit | d2e9c8ad95f8339628e4e5efbcf93d01a2f3d029 (patch) | |
tree | 2abcc1724f9c65795358a8a5136a48a0d7bee396 /editor/imgui-misc.cpp | |
parent | 7fb500aa62109f81efb69c32b66505efa8cfdae4 (diff) |
a
Diffstat (limited to 'editor/imgui-misc.cpp')
-rw-r--r-- | editor/imgui-misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-misc.cpp b/editor/imgui-misc.cpp index 6ee177f8..b397945f 100644 --- a/editor/imgui-misc.cpp +++ b/editor/imgui-misc.cpp @@ -18,7 +18,7 @@ void app::draw_fps() draw.AddText(nullptr, ImGui::GetCurrentContext()->FontSize, {M->window_size()[0] - size.x - 3.5f*dpi[0], 3*dpi[1]}, ImGui::ColorConvertFloat4ToU32({0, 1, 0, 1}), buf); #if 0 - static auto timer = fm_begin( Timeline t; t.start(); return t; ); + static auto timer = []{ Timeline t; t.start(); return t; }(); if (timer.currentFrameDuration() >= 2) { timer.start(); |