mirror of
https://github.com/ocornut/imgui.git
synced 2024-12-12 12:09:02 +08:00
Docking: warning fix for when IM_ASSERT() is empty
This commit is contained in:
parent
dedb381c51
commit
53589092b2
@ -13356,6 +13356,7 @@ static void ImGui::DockNodeRemoveWindow(ImGuiDockNode* node, ImGuiWindow* window
|
|||||||
erased = true;
|
erased = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!erased)
|
||||||
IM_ASSERT(erased);
|
IM_ASSERT(erased);
|
||||||
if (node->VisibleWindow == window)
|
if (node->VisibleWindow == window)
|
||||||
node->VisibleWindow = NULL;
|
node->VisibleWindow = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user