fix incorrect index
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0e05ed6b34
commit
53c65fb5eb
|
@ -8692,10 +8692,10 @@ static void VULKAN_Submit(
|
|||
}
|
||||
|
||||
/* Mark command buffers as submitted */
|
||||
for (i = renderer->submittedCommandBufferCount; i < commandBufferCount; i += 1)
|
||||
for (i = 0; i < commandBufferCount; i += 1)
|
||||
{
|
||||
((VulkanCommandBuffer*)pCommandBuffers[i])->submitted = 1;
|
||||
renderer->submittedCommandBuffers[i] = (VulkanCommandBuffer*) pCommandBuffers[i];
|
||||
renderer->submittedCommandBuffers[renderer->submittedCommandBufferCount] = (VulkanCommandBuffer*) pCommandBuffers[i];
|
||||
}
|
||||
renderer->submittedCommandBufferCount += commandBufferCount;
|
||||
|
||||
|
|
Loading…
Reference in New Issue