diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-15 02:42:10 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-15 02:42:10 +0000 |
commit | 92a67da8fa1734732a01a0a7d12fc3f6d697b2b3 (patch) | |
tree | df948ad3d0e531aff9180b0e03c999dee1f561f1 /ui/imgui_wrap.h | |
parent | Update ImGui to latest (diff) | |
download | ilt-92a67da8fa1734732a01a0a7d12fc3f6d697b2b3.tar.bz2 ilt-92a67da8fa1734732a01a0a7d12fc3f6d697b2b3.tar.xz ilt-92a67da8fa1734732a01a0a7d12fc3f6d697b2b3.zip |
Wrap imgui_intenal if requested
Diffstat (limited to 'ui/imgui_wrap.h')
-rw-r--r-- | ui/imgui_wrap.h | 7 |
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 |