From 7038c449b64e8e665ad12b5ea87c264793c7f188 Mon Sep 17 00:00:00 2001 From: illusion98 <37698908+illusion98@users.noreply.github.com> Date: Wed, 20 Nov 2019 12:42:51 -0500 Subject: [PATCH] small fixup for fps counter this code is a meme --- src/xenia/ui/window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/ui/window.cc b/src/xenia/ui/window.cc index e8cc518fd..3fa3d1d57 100644 --- a/src/xenia/ui/window.cc +++ b/src/xenia/ui/window.cc @@ -246,7 +246,7 @@ void Window::OnPaint(UIEvent* e) { on_paint(e); if (display_fps_) { - ImGui::Begin("FPS", (bool*)0, {0.0f, 0.0f}, 0.0f, + ImGui::Begin("FPS", (bool*)0, ImGuiWindowFlags_::ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_::ImGuiWindowFlags_NoResize | ImGuiWindowFlags_::ImGuiWindowFlags_NoMove |