mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 16:51:20 +00:00
renderer: defer texture destruction on unmap
This commit is contained in:
1 parent
800a7719cf
commit
3c016bead1
1 file changed
-3
@@ -1871,9 +1871,6 @@ void TextureCache::UnmapMemory(uint64_t address, uint64_t size) {
|
|||||||
metadata = m_surface_metas.erase(metadata);
|
metadata = m_surface_metas.erase(metadata);
|
||||||
}
|
}
|
||||||
auto images = FindImagesInRegion(address, size, false);
|
auto images = FindImagesInRegion(address, size, false);
|
||||||
if (!images.empty()) {
|
|
||||||
m_scheduler.Finish();
|
|
||||||
}
|
|
||||||
for (const auto id: images) {
|
for (const auto id: images) {
|
||||||
auto owner = m_slot_images.try_get(id);
|
auto owner = m_slot_images.try_get(id);
|
||||||
if (owner == nullptr) {
|
if (owner == nullptr) {
|
||||||
|
|||||||
Reference in new issue
Block a user