Fix an assortment of minor resource leaks, make vulkan validator happier.

This commit is contained in:
Henrik Rydgard committed 2016-04-02 11:06:39 +02:00
1 parent 727058fc27
commit 861a30a6cd
4 files changed
+12 -2

No files matched your search

+1
View File
@@ -211,6 +211,7 @@ DrawEngineVulkan::~DrawEngineVulkan() {
}
delete[] uvScale;
vkDestroyPipelineLayout(vulkan_->GetDevice(), pipelineLayout_, nullptr);
vkDestroyDescriptorSetLayout(vulkan_->GetDevice(), descriptorSetLayout_, nullptr);
}
void DrawEngineVulkan::BeginFrame() {