forked from MoonsideGames/Refresh
fix index buffer binding
parent
41ea091749
commit
d9700707d0
|
@ -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]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue