mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Backends: clear bits set in io.BackendFlags on backend Shutdown(). Clear BackendPlatformName. (#6334, #6335)
Amended with fix for missing clear for ImGuiBackendFlags_HasGamepad.
This commit is contained in:
parent
f304603e13
commit
055e71518e
18 changed files with 34 additions and 1 deletions
|
|
@ -269,6 +269,8 @@ bool ImGui_ImplAndroid_Init(ANativeWindow* window)
|
|||
|
||||
void ImGui_ImplAndroid_Shutdown()
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.BackendPlatformName = nullptr;
|
||||
}
|
||||
|
||||
void ImGui_ImplAndroid_NewFrame()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue