[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:
Gliniak
2025-10-13 22:08:52 +02:00
parent f7ed633960
commit e27b1d1cb5
8 changed files with 40 additions and 36 deletions

View File

@@ -223,10 +223,7 @@ void VulkanImmediateDrawer::Begin(UIDrawContext& ui_draw_context,
continue;
}
DestroyTextureResource(it->first);
if (std::next(it) != textures_deleted_.end()) {
*it = textures_deleted_.back();
}
textures_deleted_.pop_back();
it = textures_deleted_.erase(it);
}
// Release upload buffers for completed texture uploads.