From 6754ccb9ec27a5558d4bba8e1eee352d0414f344 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 20 Oct 2023 17:00:08 -0500 Subject: [PATCH] 32-bit ImDrawIdx on mobile issue #1538 --- extern/imgui_patched/imconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extern/imgui_patched/imconfig.h b/extern/imgui_patched/imconfig.h index 5ed81b14b..0c467bbc6 100644 --- a/extern/imgui_patched/imconfig.h +++ b/extern/imgui_patched/imconfig.h @@ -104,9 +104,9 @@ // Your renderer backend will need to support it (most example renderer backends support both 16/32-bit indices). // Another way to allow large meshes while keeping 16-bit indices is to handle ImDrawCmd::VtxOffset in your renderer. // Read about ImGuiBackendFlags_RendererHasVtxOffset for details. -#ifndef IS_MOBILE +//#ifndef IS_MOBILE #define ImDrawIdx unsigned int -#endif +//#endif //---- Override ImDrawCallback signature (will need to modify renderer backends accordingly) //struct ImDrawList;