Skip to content
Permalink
Browse files

- fix shutdown crash

  • Loading branch information...
dpjudas committed Apr 11, 2019
1 parent 1e7911d commit 40a72c71f5a696703efde594c8af64d372834834
@@ -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();

0 comments on commit 40a72c7

Please sign in to comment.
You can’t perform that action at this time.