mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- fix shutdown crash
This commit is contained in:
parent
1e7911d1f9
commit
40a72c71f5
2 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,11 @@ VkRenderPassManager::VkRenderPassManager()
|
|||
{
|
||||
}
|
||||
|
||||
VkRenderPassManager::~VkRenderPassManager()
|
||||
{
|
||||
DynamicSet.reset(); // Needed since it must come before destruction of DynamicDescriptorPool
|
||||
}
|
||||
|
||||
void VkRenderPassManager::Init()
|
||||
{
|
||||
CreateDynamicSetLayout();
|
||||
|
|
|
@ -67,6 +67,7 @@ class VkRenderPassManager
|
|||
{
|
||||
public:
|
||||
VkRenderPassManager();
|
||||
~VkRenderPassManager();
|
||||
|
||||
void Init();
|
||||
void RenderBuffersReset();
|
||||
|
|
Loading…
Reference in a new issue