- fix model shutdown crash
This commit is contained in:
parent
eb9f6ec313
commit
d413581ee2
3 changed files with 32 additions and 1 deletions
|
|
@ -89,6 +89,9 @@ VulkanFrameBuffer::~VulkanFrameBuffer()
|
|||
for (VkHardwareTexture *cur = VkHardwareTexture::First; cur; cur = cur->Next)
|
||||
cur->Reset();
|
||||
|
||||
for (VKBuffer *cur = VKBuffer::First; cur; cur = cur->Next)
|
||||
cur->Reset();
|
||||
|
||||
PPResource::ResetAll();
|
||||
|
||||
delete MatricesUBO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue