- make the VkHardwareTexture and VKBuffer linked lists private
This commit is contained in:
parent
d985d98122
commit
ab8378152f
5 changed files with 25 additions and 13 deletions
|
|
@ -94,12 +94,9 @@ VulkanFrameBuffer::VulkanFrameBuffer(void *hMonitor, bool fullscreen, VulkanDevi
|
|||
VulkanFrameBuffer::~VulkanFrameBuffer()
|
||||
{
|
||||
// All descriptors must be destroyed before the descriptor pool in renderpass manager is destroyed
|
||||
for (VkHardwareTexture *cur = VkHardwareTexture::First; cur; cur = cur->Next)
|
||||
cur->Reset();
|
||||
|
||||
for (VKBuffer *cur = VKBuffer::First; cur; cur = cur->Next)
|
||||
cur->Reset();
|
||||
VkHardwareTexture::ResetAll();
|
||||
|
||||
VKBuffer::ResetAll();
|
||||
PPResource::ResetAll();
|
||||
|
||||
delete MatricesUBO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue