vulkan cleanup| dump

This commit is contained in:
Martin Baliet 2024-03-20 20:21:33 +01:00
parent cc93620a90
commit 803ce66c49

View File

@ -180,8 +180,7 @@ bool PhysicalMemory::Unmap(uint64_t vaddr, uint64_t size) {
void PhysicalMemory::deinit() {
for (auto& item: m_objects) {
if (item.second.isGpu) {
// if(isGPU) accessGpuMemory().freeHeap(vaddr); // todo, notify free (should free host memory aswell)
memory::free(item.first);
// done by gpuMemoryManager
} else {
memory::free(item.first);
}