|
|
@ -4475,6 +4475,7 @@ static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 |
|
|
|
draw_list->CmdBuffer.pop_back(); |
|
|
|
draw_list->CmdBuffer.push_front(cmd); |
|
|
|
draw_list->PopClipRect(); |
|
|
|
draw_list->_PopUnusedDrawCmd(); // Since are past the calls to AddDrawListToDrawData() we don't have a _PopUnusedDrawCmd() running on commands.
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -4528,6 +4529,7 @@ static void ImGui::RenderDimmedBackgrounds() |
|
|
|
window->DrawList->PushClipRect(viewport->Pos, viewport->Pos + viewport->Size); |
|
|
|
window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_NavWindowingHighlight, g.NavWindowingHighlightAlpha), window->WindowRounding, 0, 3.0f); |
|
|
|
window->DrawList->PopClipRect(); |
|
|
|
window->DrawList->_PopUnusedDrawCmd(); // Since are past the calls to AddDrawListToDrawData() we don't have a _PopUnusedDrawCmd() running on commands.
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|