diff --git a/vulkan.d b/vulkan.d index da645d2..9ea74a1 100644 --- a/vulkan.d +++ b/vulkan.d @@ -860,9 +860,9 @@ Draw(Vulkan* vk, u32 index_count, u32 instance_count) } void -DrawIndexed(Vulkan* vk, u32 index_count, u32 instance_count, u32 index_offset, i32 vertex_offset) +DrawIndexed(Vulkan* vk, u32 idx_count, u32 instance_count, u32 idx_offset, i32 vtx_offset, u32 first_instance) { - vkCmdDrawIndexed(vk.cmds[vk.frame_index], index_count, instance_count, index_offset, vertex_offset, 0); + vkCmdDrawIndexed(vk.cmds[vk.frame_index], idx_count, instance_count, idx_offset, vtx_offset, first_instance); } bool