Restore emscripten 32-bit vertex buffer indices.

This commit is contained in:
Bartosz Taudul 2023-12-21 22:12:55 +01:00
parent 90c5ad04e7
commit 1557a9ac52
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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