mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-06 14:24:29 +01:00
Viewport: Made GetWindowViewport() not flag the window as written to.
This commit is contained in:
parent
7f960616e0
commit
4c35e00f49
@ -8138,7 +8138,7 @@ ImDrawList* ImGui::GetWindowDrawList()
|
|||||||
|
|
||||||
ImGuiViewport* ImGui::GetWindowViewport()
|
ImGuiViewport* ImGui::GetWindowViewport()
|
||||||
{
|
{
|
||||||
ImGuiWindow* window = GetCurrentWindow();
|
ImGuiWindow* window = GetCurrentWindowRead();
|
||||||
IM_ASSERT(window->Viewport != NULL);
|
IM_ASSERT(window->Viewport != NULL);
|
||||||
return window->Viewport;
|
return window->Viewport;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user