mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
Viewports: fix missing default per-window value for ParentViewportId due to zero-cleared in-window instance (#4756)
Broken by 2080d12b
This commit is contained in:
parent
7f38773b73
commit
ea83d040e6
1 changed files with 1 additions and 0 deletions
|
|
@ -3092,6 +3092,7 @@ ImGuiWindow::ImGuiWindow(ImGuiContext* context, const char* name) : DrawListInst
|
|||
DrawList = &DrawListInst;
|
||||
DrawList->_Data = &context->DrawListSharedData;
|
||||
DrawList->_OwnerName = Name;
|
||||
IM_PLACEMENT_NEW(&WindowClass) ImGuiWindowClass();
|
||||
}
|
||||
|
||||
ImGuiWindow::~ImGuiWindow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue