1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Backends: DX12: let bd->FrameIndex start at 0 to match docking. (#8961)

This commit is contained in:
ocornut 2025-09-29 16:00:17 +02:00
parent e459e5bf0a
commit 3ff195f702

View file

@ -106,7 +106,7 @@ struct ImGui_ImplDX12_Data
bool LegacySingleDescriptorUsed;
ImGui_ImplDX12_Data() { memset((void*)this, 0, sizeof(*this)); frameIndex = UINT_MAX; }
ImGui_ImplDX12_Data() { memset((void*)this, 0, sizeof(*this)); }
};
// Backend data stored in io.BackendRendererUserData to allow support for multiple Dear ImGui contexts