VideoCommon: Hold ImGui lock while initializing and shutting down ImGui.

This commit is contained in:
Admiral H. Curtiss 2022-11-06 21:48:55 +01:00
commit a98df18947
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
2 changed files with 12 additions and 1 deletions

View file

@ -303,6 +303,9 @@ protected:
// This function itself acquires the ImGui lock, so it should not be held.
void BeginImGuiFrame();
// Same as above but without locking the ImGui lock.
void BeginImGuiFrameUnlocked();
// Destroys all ImGui GPU resources, must do before shutdown.
void ShutdownImGui();