Vulkan: fix stack overflow.

This commit is contained in:
aliaspider committed 2020-10-13 06:05:30 +01:00
1 parent 8bff088bb3
commit 1aff9b3e2b
1 file changed
+1 -1
+1 -1
View File
@@ -439,7 +439,7 @@ VkDescriptorSet DrawEngineVulkan::GetOrCreateDescriptorSet(VkImageView imageView
_assert_msg_(result == VK_SUCCESS, "Ran out of descriptor space in pool. sz=%d res=%d", (int)frame.descSets.size(), (int)result);
// We just don't write to the slots we don't care about, which is fine.
VkWriteDescriptorSet writes[7]{};
VkWriteDescriptorSet writes[9]{};
// Main texture
int n = 0;
VkDescriptorImageInfo tex[3]{};