mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +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()
|
void VkRenderPassManager::Init()
|
||||||
{
|
{
|
||||||
CreateDynamicSetLayout();
|
CreateDynamicSetLayout();
|
||||||
|
|
|
@ -67,6 +67,7 @@ class VkRenderPassManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VkRenderPassManager();
|
VkRenderPassManager();
|
||||||
|
~VkRenderPassManager();
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
void RenderBuffersReset();
|
void RenderBuffersReset();
|
||||||
|
|
Loading…
Reference in a new issue