GPU: Cleanup some bounds checks, assignments.

This commit is contained in:
Unknown W. Brackets committed 2022-12-03 07:17:12 -08:00
1 parent 7dee26eae4
commit e50eae1bfb
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ VkCommandBuffer FrameData::GetInitCmd(VulkanContext *vulkan) {
}
void FrameData::SubmitPending(VulkanContext *vulkan, FrameSubmitType type, FrameDataShared &sharedData) {
VkCommandBuffer cmdBufs[2];
VkCommandBuffer cmdBufs[3];
int numCmdBufs = 0;
VkFence fenceToTrigger = VK_NULL_HANDLE;