1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

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
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

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;