ImDrawList: PushColumnsBackground(): Fixed incorrect assert. (#3163)
diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp
index 07be3b3..2ba7c6b 100644
--- a/imgui_widgets.cpp
+++ b/imgui_widgets.cpp
@@ -7553,7 +7553,7 @@
int cmd_size = window->DrawList->CmdBuffer.Size;
PushClipRect(columns->HostClipRect.Min, columns->HostClipRect.Max, false);
IM_UNUSED(cmd_size);
- IM_ASSERT(cmd_size == window->DrawList->CmdBuffer.Size); // Being in channel 0 this should not have created an ImDrawCmd
+ IM_ASSERT(cmd_size >= window->DrawList->CmdBuffer.Size); // Being in channel 0 this should not have created an ImDrawCmd
}
void ImGui::PopColumnsBackground()