mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-23 02:04:22 +00:00
Viewport: Made GetWindowViewport() not flag the window as written to.
This commit is contained in:
parent
7f960616e0
commit
4c35e00f49
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue