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:
parent
208705368e
commit
c20e160e0f
3 changed files with 8 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue