From 3d0120ef3d4c13892aecdf49df65ba92708e39fd Mon Sep 17 00:00:00 2001 From: maik klein Date: Thu, 29 Dec 2016 07:50:54 +0100 Subject: [PATCH] Unsued begin command buffer --- examples/src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 2d2fee3..f7d465b 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -494,13 +494,6 @@ impl ExampleBase { .unwrap(); device.bind_image_memory(depth_image, depth_image_memory, 0) .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, setup_command_buffer, present_queue,