aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorn67094 <n67094@gmail.com>2025-04-03 17:03:30 +0200
committern67094 <n67094@gmail.com>2025-04-03 17:03:30 +0200
commit10e0bde19d863bd269e0fb100c4fb622113e196f (patch)
treea527b6edb05dc2b1d77bcfada7be63b07cee01a4 /util
parent4018189c9a564bf1cc219f6918af557395df4401 (diff)
fix: mismatch function with cimgui
Diffstat (limited to 'util')
-rw-r--r--util/sokol_imgui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_imgui.h b/util/sokol_imgui.h
index bd6f9c05..c63a5ddf 100644
--- a/util/sokol_imgui.h
+++ b/util/sokol_imgui.h
@@ -2380,7 +2380,7 @@ SOKOL_API_IMPL void simgui_setup(const simgui_desc_t* desc) {
#if defined(__cplusplus)
ImGuiPlatformIO* pio = &ImGui::GetPlatformIO();
#else
- ImGuiPlatformIO* pio = _SIMGUI_CFUNC(GetPlatformIO)();
+ ImGuiPlatformIO* pio = _SIMGUI_CFUNC(GetPlatformIO_Nil)();
#endif
pio->Platform_SetClipboardTextFn = _simgui_set_clipboard;
pio->Platform_GetClipboardTextFn = _simgui_get_clipboard;