From 5b053dd35011bd13f9baedc1bcc3b7694abb64c1 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 13 Jul 2015 15:52:57 -0600 Subject: [PATCH] Fix for OverlayDrawList being ready to append commands (not exposed publicly yet anyway) --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index 84d7f1cc..a91c256c 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2134,6 +2134,7 @@ void ImGui::NewFrame() g.FrameCount += 1; g.Tooltip[0] = '\0'; g.OverlayDrawList.Clear(); + g.OverlayDrawList.AddDrawCmd(); // Update inputs state if (g.IO.MousePos.x < 0 && g.IO.MousePos.y < 0)