summaryrefslogtreecommitdiff
path: root/ui/imgui_wrap.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-04-02 23:22:12 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-04-02 23:22:12 +0100
commit2245fc8a3bb521afc2e6dd575cd1757ecab23558 (patch)
treec4565e14b2e9b01c970b3ee5816f6ec849b61e92 /ui/imgui_wrap.h
parentMerge remote-tracking branch 'origin/ptrs' (diff)
parentRemove the old unused network.png icon (diff)
downloadilt-2245fc8a3bb521afc2e6dd575cd1757ecab23558.tar.bz2
ilt-2245fc8a3bb521afc2e6dd575cd1757ecab23558.tar.xz
ilt-2245fc8a3bb521afc2e6dd575cd1757ecab23558.zip
Merge branch 'imgui'HEADmain
Diffstat (limited to 'ui/imgui_wrap.h')
-rw-r--r--ui/imgui_wrap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/imgui_wrap.h b/ui/imgui_wrap.h
index 1d619a4..520d8b8 100644
--- a/ui/imgui_wrap.h
+++ b/ui/imgui_wrap.h
@@ -3,4 +3,11 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"
#include "imgui.h" // IWYU pragma: export
+#ifdef IMGUI_INTERNAL
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wconversion"
+# pragma GCC diagnostic ignored "-Wsign-conversion"
+# include "imgui_internal.h" // IWYU pragma: export
+# pragma GCC diagnostic pop
+#endif
#pragma GCC diagnostic pop