mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[dxvk] Remove old debug code
This commit is contained in:
parent
42d49d7603
commit
894444d43d
@ -108,7 +108,6 @@ namespace dxvk {
|
|||||||
m_freeList.push_back({ allocEnd, sliceEnd - allocEnd });
|
m_freeList.push_back({ allocEnd, sliceEnd - allocEnd });
|
||||||
|
|
||||||
// Create the memory object with the aligned slice
|
// Create the memory object with the aligned slice
|
||||||
m_delta++;
|
|
||||||
return DxvkMemory(this, m_heap,
|
return DxvkMemory(this, m_heap,
|
||||||
m_memory, allocStart, allocEnd - allocStart,
|
m_memory, allocStart, allocEnd - allocStart,
|
||||||
reinterpret_cast<char*>(m_mapPtr) + allocStart);
|
reinterpret_cast<char*>(m_mapPtr) + allocStart);
|
||||||
@ -136,7 +135,6 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_delta--;
|
|
||||||
m_freeList.push_back({ offset, length });
|
m_freeList.push_back({ offset, length });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ namespace dxvk {
|
|||||||
VkDeviceMemory const m_memory;
|
VkDeviceMemory const m_memory;
|
||||||
void* const m_mapPtr;
|
void* const m_mapPtr;
|
||||||
VkDeviceSize const m_size;
|
VkDeviceSize const m_size;
|
||||||
size_t m_delta = 0;
|
|
||||||
std::vector<FreeSlice> m_freeList;
|
std::vector<FreeSlice> m_freeList;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user