From c9354dea26ffd5b31d9ee8b46c07c722202b10fc Mon Sep 17 00:00:00 2001 From: SweetId <2630750+SweetId@users.noreply.github.com> Date: Tue, 19 Sep 2023 20:17:28 -0400 Subject: [PATCH] fix linkage issue --- include/NazaraImgui/NazaraImgui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/NazaraImgui/NazaraImgui.hpp b/include/NazaraImgui/NazaraImgui.hpp index 0e2267e..b4e218b 100644 --- a/include/NazaraImgui/NazaraImgui.hpp +++ b/include/NazaraImgui/NazaraImgui.hpp @@ -117,7 +117,7 @@ namespace ImGui NAZARA_IMGUI_API void DrawRect(const Nz::Rectf& rect, const Nz::Color& color, float rounding = 0.0f, int rounding_corners = 0x0F, float thickness = 1.0f); NAZARA_IMGUI_API void DrawRectFilled(const Nz::Rectf& rect, const Nz::Color& color, float rounding = 0.0f, int rounding_corners = 0x0F); - void EnsureContextOnThisThread() + inline void EnsureContextOnThisThread() { auto* context = Nz::Imgui::GetCurrentContext(); SetCurrentContext(context);