mirror of
https://github.com/Drezil/imgui.git
synced 2025-04-21 02:24:02 +00:00
Backends: Made it possible to shutdown default Platform Backends before the Renderer backends. (#4656)
This commit is contained in:
parent
05877c14df
commit
bac748fa95
@ -961,4 +961,5 @@ static void ImGui_ImplGlfw_InitPlatformInterface()
|
|||||||
|
|
||||||
static void ImGui_ImplGlfw_ShutdownPlatformInterface()
|
static void ImGui_ImplGlfw_ShutdownPlatformInterface()
|
||||||
{
|
{
|
||||||
|
ImGui::DestroyPlatformWindows();
|
||||||
}
|
}
|
||||||
|
@ -776,4 +776,5 @@ static void ImGui_ImplSDL2_InitPlatformInterface(SDL_Window* window, void* sdl_g
|
|||||||
|
|
||||||
static void ImGui_ImplSDL2_ShutdownPlatformInterface()
|
static void ImGui_ImplSDL2_ShutdownPlatformInterface()
|
||||||
{
|
{
|
||||||
|
ImGui::DestroyPlatformWindows();
|
||||||
}
|
}
|
||||||
|
@ -1006,6 +1006,7 @@ static void ImGui_ImplWin32_InitPlatformInterface()
|
|||||||
static void ImGui_ImplWin32_ShutdownPlatformInterface()
|
static void ImGui_ImplWin32_ShutdownPlatformInterface()
|
||||||
{
|
{
|
||||||
::UnregisterClass(_T("ImGui Platform"), ::GetModuleHandle(NULL));
|
::UnregisterClass(_T("ImGui Platform"), ::GetModuleHandle(NULL));
|
||||||
|
ImGui::DestroyPlatformWindows();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------
|
||||||
|
@ -105,7 +105,8 @@ Other changes:
|
|||||||
|
|
||||||
Docking+Viewports Branch:
|
Docking+Viewports Branch:
|
||||||
|
|
||||||
- Revert removal of io.ConfigDockingWithShift config option (removed in 1.83). (#4643)
|
- Docking: Revert removal of io.ConfigDockingWithShift config option (removed in 1.83). (#4643)
|
||||||
|
- Backends: Made it possible to shutdown default Platform Backends before the Renderer backends. (#4656)
|
||||||
|
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user