[Vulkan] Add forgotten delayed ImmediateTexture deletion

This commit is contained in:
Triang3l 2020-09-27 15:55:55 +03:00
parent d78b2a9a93
commit 9f8c45c4e6
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ void VulkanImmediateDrawer::Begin(int render_target_width,
++it;
continue;
}
DestroyTextureResource(it->first);
if (std::next(it) != textures_deleted_.end()) {
*it = textures_deleted_.back();
}