1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-24 02:14:22 +00:00

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

@ -5588,6 +5588,7 @@ static void InitViewportDrawData(ImGuiViewportP* viewport)
draw_data->DisplaySize = viewport->Size;
draw_data->FramebufferScale = io.DisplayFramebufferScale;
draw_data->OwnerViewport = viewport;
draw_data->Textures = &ImGui::GetPlatformIO().Textures;
}
// Push a clipping rectangle for both ImGui logic (hit-testing etc.) and low-level ImDrawList rendering.