mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 12:42:34 +01:00
ImGuizmo: Fix crash at exit due to global context.
This commit is contained in:
6
3rdparty/dear-imgui/widgets/gizmo.h
vendored
6
3rdparty/dear-imgui/widgets/gizmo.h
vendored
@@ -126,6 +126,12 @@ namespace IMGUIZMO_NAMESPACE
|
||||
// call BeginFrame right after ImGui_XXXX_NewFrame();
|
||||
IMGUI_API void BeginFrame();
|
||||
|
||||
//
|
||||
IMGUI_API void Create();
|
||||
|
||||
//
|
||||
IMGUI_API void Destroy();
|
||||
|
||||
// this is necessary because when imguizmo is compiled into a dll, and imgui into another
|
||||
// globals are not shared between them.
|
||||
// More details at https://stackoverflow.com/questions/19373061/what-happens-to-global-and-static-variables-in-a-shared-library-when-it-is-dynam
|
||||
|
||||
860
3rdparty/dear-imgui/widgets/gizmo.inl
vendored
860
3rdparty/dear-imgui/widgets/gizmo.inl
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user