mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-05 04:10:07 +00:00
Textures: added texture list pointer in ImDrawData.
# Conflicts: # imgui.h
This commit is contained in:
parent
208705368e
commit
c20e160e0f
3 changed files with 8 additions and 4 deletions
|
|
@ -2244,6 +2244,7 @@ void ImDrawData::Clear()
|
|||
CmdLists.resize(0); // The ImDrawList are NOT owned by ImDrawData but e.g. by ImGuiContext, so we don't clear them.
|
||||
DisplayPos = DisplaySize = FramebufferScale = ImVec2(0.0f, 0.0f);
|
||||
OwnerViewport = NULL;
|
||||
Textures = NULL;
|
||||
}
|
||||
|
||||
// Important: 'out_list' is generally going to be draw_data->CmdLists, but may be another temporary list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue