Viewport: Made GetWindowViewport() not flag the window as written to.

docking
omar 6 years ago
parent 7f960616e0
commit 4c35e00f49

@ -8138,7 +8138,7 @@ ImDrawList* ImGui::GetWindowDrawList()
ImGuiViewport* ImGui::GetWindowViewport()
{
ImGuiWindow* window = GetCurrentWindow();
ImGuiWindow* window = GetCurrentWindowRead();
IM_ASSERT(window->Viewport != NULL);
return window->Viewport;
}

Loading…
Cancel
Save