mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-12-04 12:33:30 +00:00
vulkan cleanup| dump
This commit is contained in:
parent
cc93620a90
commit
803ce66c49
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user