summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/imgui-misc.cpp2
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();