Textures: added texture list pointer in ImDrawData.

# Conflicts:
#	imgui.h
This commit is contained in:
ocornut
2025-05-09 21:41:01 +02:00
parent 208705368e
commit c20e160e0f
3 changed files with 8 additions and 4 deletions

View File

@@ -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