Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/imgui
diff options
context:
space:
mode:
Diffstat (limited to 'imgui')
-rw-r--r--imgui/imconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/imgui/imconfig.h b/imgui/imconfig.h
index e3dc27f6..6ad6eda0 100644
--- a/imgui/imconfig.h
+++ b/imgui/imconfig.h
@@ -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;