[UI] Fixed issues with ImGui on Vulkan and few ASAN issues related to ImGui
- Simplified handling of notifications to faster version with ranges - Removed usage of STB sprintf on checked due to ASAN violation - Draw ImGui windows only when they're not in close_pending state
This commit is contained in:
@@ -41,7 +41,9 @@ ImGuiIO& ImGuiDialog::GetIO() { return imgui_drawer()->GetIO(); }
|
||||
|
||||
void ImGuiDialog::Draw() {
|
||||
// Draw UI.
|
||||
OnDraw(GetIO());
|
||||
if (!has_close_pending_) {
|
||||
OnDraw(GetIO());
|
||||
}
|
||||
|
||||
// Check to see if the UI closed itself and needs to be deleted.
|
||||
if (has_close_pending_) {
|
||||
|
||||
Reference in New Issue
Block a user