use IMGUI_HAS_DOCK instead of having to define IMGUI_DOCKING

This commit is contained in:
Victor Bombi
2020-03-02 21:39:24 +01:00
parent 0cbc6bf55f
commit 7dc6dbe77e

View File

@@ -59,7 +59,7 @@ CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p)
p->~ImVector<ImWchar>();
}
#ifdef IMGUI_DOCKING
#ifdef IMGUI_HAS_DOCK
// NOTE: Some function pointers in the ImGuiPlatformIO structure are not C-compatible because of their
// use of a complex return type. To work around this, we store a custom CimguiStorage object inside