From 368d2c356824fde7555cb2a3819da3f64021e319 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 15 Jul 2015 09:26:03 -0600 Subject: [PATCH] OverlayDrawList readier for pushing elements (not exposed yet) --- imgui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imgui.cpp b/imgui.cpp index 4924a681..e67ec23b 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2153,6 +2153,8 @@ void ImGui::NewFrame() g.FrameCount += 1; g.Tooltip[0] = '\0'; g.OverlayDrawList.Clear(); + g.OverlayDrawList.PushTextureID(g.IO.Fonts->TexID); + g.OverlayDrawList.PushClipRectFullScreen(); g.OverlayDrawList.AddDrawCmd(); // Update inputs state