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
parent e37aa3ed90
commit a98df18947
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();