renderer: defer texture destruction on unmap

This commit is contained in:
nmzik
2026-08-23 17:08:59 +02:00
parent 800a7719cf
commit 3c016bead1
-3
View File
@@ -1871,9 +1871,6 @@ void TextureCache::UnmapMemory(uint64_t address, uint64_t size) {
metadata = m_surface_metas.erase(metadata);
}
auto images = FindImagesInRegion(address, size, false);
if (!images.empty()) {
m_scheduler.Finish();
}
for (const auto id: images) {
auto owner = m_slot_images.try_get(id);
if (owner == nullptr) {