Open ohlidalp opened 1 year ago
which asserts do you run into with 16bit indices?
you are likely using the ImDrawList API to get there? Can you show some code that triggers the assert?
also, would implementing ImDrawListFlags_AllowVtxOffset help? https://github.com/ocornut/imgui/issues/2591
Hello, I'd like to ask for a build option which would enable using 32-bit indices with DearIMGUI.
By default DearIMGUI uses 16-bit indices and uses
assert()
to check the buffer size. Enabling 32-bit indices is a 2-step process:assert()
s: https://github.com/ocornut/imgui/blob/master/imconfig.h#L94-L98