Correct rendering wait mask

This commit is contained in:
maik klein 2017-01-06 08:47:06 +01:00
parent 2e1079b77c
commit 4565b1f3b3

View file

@ -440,7 +440,7 @@ fn main() {
record_submit_commandbuffer(&base.device, record_submit_commandbuffer(&base.device,
base.draw_command_buffer, base.draw_command_buffer,
base.present_queue, base.present_queue,
&[vk::PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT], &[vk::PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT],
&[base.present_complete_semaphore], &[base.present_complete_semaphore],
&[base.rendering_complete_semaphore], &[base.rendering_complete_semaphore],
|device, draw_command_buffer| { |device, draw_command_buffer| {