fix linkage issue

This commit is contained in:
SweetId 2023-09-19 20:17:28 -04:00
parent a08a9b377c
commit c9354dea26
1 changed files with 1 additions and 1 deletions

View File

@ -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);