fixing linux build failure

This commit is contained in:
Kbz-8
2024-11-13 12:23:16 +01:00
parent 35b7408eab
commit f27e5ef043
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,6 @@ namespace mlx
kvfDestroyFramebuffer(RenderCore::Get().GetDevice(), fb);
DebugLog("Vulkan: framebuffer destroyed");
}
m_framebuffers.clear();
kvfDestroyPipelineLayout(RenderCore::Get().GetDevice(), m_pipeline_layout);
m_pipeline_layout = VK_NULL_HANDLE;
@@ -149,6 +148,7 @@ namespace mlx
p_renderer = nullptr;
m_clears.clear();
m_attachments.clear();
m_framebuffers.clear();
}
void GraphicPipeline::CreateFramebuffers(const std::vector<NonOwningPtr<Texture>>& render_targets, bool clear_attachments)