mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-07 04:30:08 +00:00
Fix for OverlayDrawList being ready to append commands (not exposed publicly yet anyway)
This commit is contained in:
parent
7eca4e2a7f
commit
5b053dd350
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue