mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-17 19:09:27 +01:00
ImDrawList: PushColumnsBackground(): Fixed incorrect assert. (#3163)
This commit is contained in:
parent
5af8a8c7e8
commit
78d5ccfb90
@ -7553,7 +7553,7 @@ void ImGui::PushColumnsBackground()
|
|||||||
int cmd_size = window->DrawList->CmdBuffer.Size;
|
int cmd_size = window->DrawList->CmdBuffer.Size;
|
||||||
PushClipRect(columns->HostClipRect.Min, columns->HostClipRect.Max, false);
|
PushClipRect(columns->HostClipRect.Min, columns->HostClipRect.Max, false);
|
||||||
IM_UNUSED(cmd_size);
|
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()
|
void ImGui::PopColumnsBackground()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user