diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-12-05 17:35:02 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-12-05 17:35:02 +0100 |
| commit | 5db0ebd6126026cf8c1ff169e75f3d6926e7d27c (patch) | |
| tree | e6ac9b069dc1a32a9417bf0b4872c851b2a1158f /util | |
| parent | bd4f5406e3383c19c1594aa10db2fe889a76185d (diff) | |
fix tests
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_gfx_imgui.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/sokol_gfx_imgui.h b/util/sokol_gfx_imgui.h index f2e2f03b..34e19fd7 100644 --- a/util/sokol_gfx_imgui.h +++ b/util/sokol_gfx_imgui.h @@ -252,7 +252,11 @@ SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_capabilities_menu_item(const char* la SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_frame_stats_menu_item(const char* label); #if defined(__cplusplus) -} /* extern "C" */ +} // extern "C" + +// reference-based equivalents for c++ +inline void sgimgui_setup(const sgimgui_desc_t& desc) { return sgimgui_setup(&desc); } + #endif #endif /* SOKOL_GFX_IMGUI_INCLUDED */ |