Use 32-bit vertex indices on emscripten.

This commit is contained in:
Bartosz Taudul
2022-10-02 18:24:26 +02:00
parent e530103f43
commit 05b639e3b6

View File

@@ -97,6 +97,10 @@
// Read about ImGuiBackendFlags_RendererHasVtxOffset for details.
//#define ImDrawIdx unsigned int
#ifdef __EMSCRIPTEN__
#define ImDrawIdx unsigned int
#endif
//---- Override ImDrawCallback signature (will need to modify renderer backends accordingly)
//struct ImDrawList;
//struct ImDrawCmd;