-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shutdown safely and correctly on Apple
Metal and OSX require `ImGui_Impl*_GetBackendData() != nullptr` during shutdown anyway so this is not a breaking change. Actually, before this PR there were potential `nullptr` derefs in the respective `ImGui_Impl*_DestroyBackendData()`s. This PR both prevents this and also resets `io.BackendRendererUserData`, `io.BackendRendererName` and `io.BackendFlags`.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters