mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
Quick fix for #13459
This commit is contained in:
1 parent
2d06730762
commit
8192f5174c
2 files changed
+4
-2
No files matched your search
@@ -463,7 +463,9 @@ void VulkanComputeShaderManager::InitDeviceObjects() {
|
||||
|
||||
void VulkanComputeShaderManager::DestroyDeviceObjects() {
|
||||
for (int i = 0; i < ARRAY_SIZE(frameData_); i++) {
|
||||
vulkan_->Delete().QueueDeleteDescriptorPool(frameData_[i].descPool);
|
||||
if (frameData_[i].descPool) {
|
||||
vulkan_->Delete().QueueDeleteDescriptorPool(frameData_[i].descPool);
|
||||
}
|
||||
}
|
||||
if (descriptorSetLayout_) {
|
||||
vulkan_->Delete().QueueDeleteDescriptorSetLayout(descriptorSetLayout_);
|
||||
|
||||
@@ -163,7 +163,7 @@ private:
|
||||
VkDescriptorPool descPool;
|
||||
int numDescriptors;
|
||||
};
|
||||
FrameData frameData_[VulkanContext::MAX_INFLIGHT_FRAMES];
|
||||
FrameData frameData_[VulkanContext::MAX_INFLIGHT_FRAMES]{};
|
||||
|
||||
struct PipelineKey {
|
||||
VkShaderModule module;
|
||||
|
||||
Reference in new issue
Block a user