OverlayDrawList readier for pushing elements (not exposed yet)

This commit is contained in:
ocornut 2015-07-15 09:26:03 -06:00
parent 0224d29a35
commit 368d2c3568

View File

@ -2153,6 +2153,8 @@ 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.PushTextureID(g.IO.Fonts->TexID);
g.OverlayDrawList.PushClipRectFullScreen();
g.OverlayDrawList.AddDrawCmd(); g.OverlayDrawList.AddDrawCmd();
// Update inputs state // Update inputs state