mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
616e7c2eec
ImGui OpenGL loader is patched, and not regenerated, because the gl3w script requires network connectivity to download the header files from Khronos at build time.
15 lines
565 B
Diff
15 lines
565 B
Diff
diff '--color=auto' -ruN 72d8f61727dc878102157113d1998f86b852d20e/imconfig.h new/imconfig.h
|
|
--- 72d8f61727dc878102157113d1998f86b852d20e/imconfig.h 2024-09-27 14:28:05.568760349 +0200
|
|
+++ new/imconfig.h 2024-09-27 14:29:47.310243707 +0200
|
|
@@ -113,6 +113,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;
|