parent
48de215d0b
commit
91958acad2
1 changed files with 3 additions and 1 deletions
|
|
@ -51,7 +51,9 @@ namespace vks
|
|||
}
|
||||
|
||||
UIOverlay::~UIOverlay() {
|
||||
ImGui::DestroyContext();
|
||||
if (ImGui::GetCurrentContext()) {
|
||||
ImGui::DestroyContext();
|
||||
}
|
||||
}
|
||||
|
||||
/** Prepare all vulkan resources required to render the UI overlay */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue