summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-26 02:25:00 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-26 02:25:00 +0000
commitdde709e167765c8fdb607d425fb158b073bd11a9 (patch)
treee017f42ef7275147e71c3a19427ebcb0cce8e358
parentImGuiImplDiligent: added missing call to ImGui::EndFrame (diff)
downloadDiligentTools-dde709e167765c8fdb607d425fb158b073bd11a9.tar.gz
DiligentTools-dde709e167765c8fdb607d425fb158b073bd11a9.zip
Reverted previous change if this was not the cause of the problem. It seems that dear imgui does not render the first frame no matter what
-rw-r--r--Imgui/src/ImGuiImplDiligent.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp
index 26de09b..03e3e76 100644
--- a/Imgui/src/ImGuiImplDiligent.cpp
+++ b/Imgui/src/ImGuiImplDiligent.cpp
@@ -448,7 +448,6 @@ void ImGuiImplDiligent::NewFrame()
void ImGuiImplDiligent::Render(IDeviceContext* pCtx)
{
- ImGui::EndFrame();
ImGui::Render();
m_pImpl->RenderDrawData(pCtx, ImGui::GetDrawData());
}