Docking: warning fix for when IM_ASSERT() is empty

docking
ocornut 3 years ago
parent dedb381c51
commit 53589092b2

@ -13356,7 +13356,8 @@ static void ImGui::DockNodeRemoveWindow(ImGuiDockNode* node, ImGuiWindow* window
erased = true;
break;
}
IM_ASSERT(erased);
if (!erased)
IM_ASSERT(erased);
if (node->VisibleWindow == window)
node->VisibleWindow = NULL;

Loading…
Cancel
Save