fix index buffer binding

submit_rewrite
cosmonaut 2021-01-21 14:03:36 -08:00
parent 41ea091749
commit d9700707d0
1 changed files with 1 additions and 1 deletions

View File

@ -7446,7 +7446,7 @@ static void VULKAN_BindIndexBuffer(
renderer->vkCmdBindIndexBuffer( renderer->vkCmdBindIndexBuffer(
vulkanCommandBuffer->commandBuffer, vulkanCommandBuffer->commandBuffer,
vulkanBuffer->subBuffers[renderer->frameIndex]->buffer, vulkanBuffer->subBuffers[vulkanBuffer->currentSubBufferIndex]->buffer,
offset, offset,
RefreshToVK_IndexType[indexElementSize] RefreshToVK_IndexType[indexElementSize]
); );