mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 09:27:00 +00: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…
Reference in New Issue
Block a user