Fix begin_command_buffer argument naming

This commit is contained in:
Benjamin Saunders 2018-12-05 22:42:45 -08:00
parent b9702a2e14
commit c3e53a8317

View file

@ -1403,11 +1403,11 @@ pub trait DeviceV1_0 {
unsafe fn begin_command_buffer( unsafe fn begin_command_buffer(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
create_info: &vk::CommandBufferBeginInfo, begin_info: &vk::CommandBufferBeginInfo,
) -> VkResult<()> { ) -> VkResult<()> {
let err_code = self let err_code = self
.fp_v1_0() .fp_v1_0()
.begin_command_buffer(command_buffer, create_info); .begin_command_buffer(command_buffer, begin_info);
match err_code { match err_code {
vk::Result::SUCCESS => Ok(()), vk::Result::SUCCESS => Ok(()),
_ => Err(err_code), _ => Err(err_code),