Fix for OverlayDrawList being ready to append commands (not exposed publicly yet anyway)

docking
ocornut 10 years ago
parent 7eca4e2a7f
commit 5b053dd350

@ -2134,6 +2134,7 @@ void ImGui::NewFrame()
g.FrameCount += 1; g.FrameCount += 1;
g.Tooltip[0] = '\0'; g.Tooltip[0] = '\0';
g.OverlayDrawList.Clear(); g.OverlayDrawList.Clear();
g.OverlayDrawList.AddDrawCmd();
// Update inputs state // Update inputs state
if (g.IO.MousePos.x < 0 && g.IO.MousePos.y < 0) if (g.IO.MousePos.x < 0 && g.IO.MousePos.y < 0)

Loading…
Cancel
Save