Unsued begin command buffer

This commit is contained in:
maik klein 2016-12-29 07:50:54 +01:00
parent 0f52807193
commit 3d0120ef3d

View file

@ -494,13 +494,6 @@ impl ExampleBase {
.unwrap(); .unwrap();
device.bind_image_memory(depth_image, depth_image_memory, 0) device.bind_image_memory(depth_image, depth_image_memory, 0)
.expect("Unable to bind depth image memory"); .expect("Unable to bind depth image memory");
let command_buffer_begin_info = vk::CommandBufferBeginInfo {
s_type: vk::StructureType::CommandBufferBeginInfo,
p_next: ptr::null(),
p_inheritance_info: ptr::null(),
flags: vk::COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,
};
record_submit_commandbuffer(&device, record_submit_commandbuffer(&device,
setup_command_buffer, setup_command_buffer,
present_queue, present_queue,