diff options
Diffstat (limited to 'Imgui/src/ImGuiImplDiligent.cpp')
| -rw-r--r-- | Imgui/src/ImGuiImplDiligent.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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()); } |
