From 707e9c63ce9af2801ff38ce0476570ca92048268 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 26 Dec 2019 11:17:07 -0800 Subject: ImGuiImplDiligent: added EndFrame method --- Imgui/src/ImGuiImplDiligent.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Imgui/src/ImGuiImplDiligent.cpp') diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp index 03e3e76..67b50ba 100644 --- a/Imgui/src/ImGuiImplDiligent.cpp +++ b/Imgui/src/ImGuiImplDiligent.cpp @@ -446,8 +446,14 @@ void ImGuiImplDiligent::NewFrame() ImGui::NewFrame(); } +void ImGuiImplDiligent::EndFrame() +{ + ImGui::EndFrame(); +} + void ImGuiImplDiligent::Render(IDeviceContext* pCtx) { + // No need to call ImGui::EndFrame as ImGui::Render calls it automatically ImGui::Render(); m_pImpl->RenderDrawData(pCtx, ImGui::GetDrawData()); } -- cgit v1.2.3