sokol_imgui.h doesn't work with latest version of cimgui.h #1105
Closed
Description
When trying to compile a project using sokol_imgui.h and the latest version of cimgui, I get these errors:
lib/sokol/util/sokol_imgui.h:2221:13: error: no member named 'SetClipboardTextFn' in 'struct ImGuiIO'
2221 | io->SetClipboardTextFn = _simgui_set_clipboard;
| ~~ ^
lib/sokol/util/sokol_imgui.h:2222:13: error: no member named 'GetClipboardTextFn' in 'struct ImGuiIO'
2222 | io->GetClipboardTextFn = _simgui_get_clipboard;
| ~~ ^
These struct members were removed in the latest commit: cimgui/cimgui@ed017a0#diff-8c5bc66a0b4aae002c8b733763a8e1157968b9ef4e49ec9f25186b4962082462L1067-L1068