mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Fix for OverlayDrawList being ready to append commands (not exposed publicly yet anyway)
This commit is contained in:
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…
Reference in New Issue
Block a user