From 36da1046fb72d46d3a84b4b25838389d9e2499fc Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 9 Jul 2021 12:34:20 +0200 Subject: [PATCH] examples: fix imguitest --- tools/imguitest/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/imguitest/main.cpp b/tools/imguitest/main.cpp index 964cb95..749c06f 100644 --- a/tools/imguitest/main.cpp +++ b/tools/imguitest/main.cpp @@ -109,13 +109,12 @@ Draw(float timeDelta) ImGui::EndFrame(); - ImGui::Render(); + ImGui_ImplRW_RenderDrawLists(ImGui::GetDrawData()); + Scene.camera->endUpdate(); Scene.camera->showRaster(0); - - ImGui_ImplRW_RenderDrawLists(ImGui::GetDrawData()); }