mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Fix examples
This commit is contained in:
parent
2b67ced430
commit
c8fc08738e
@ -188,7 +188,7 @@ fn main() {
|
||||
.build().unwrap();
|
||||
|
||||
let future = future
|
||||
.then_execute(queue.clone(), cb)
|
||||
.then_execute(queue.clone(), cb).unwrap()
|
||||
.then_swapchain_present(queue.clone(), swapchain.clone(), image_num)
|
||||
.then_signal_fence_and_flush().unwrap();
|
||||
submissions.push(Box::new(future) as Box<_>);
|
||||
|
@ -194,7 +194,7 @@ fn main() {
|
||||
.build().unwrap();
|
||||
|
||||
let future = future
|
||||
.then_execute(queue.clone(), command_buffer)
|
||||
.then_execute(queue.clone(), command_buffer).unwrap()
|
||||
.then_swapchain_present(queue.clone(), swapchain.clone(), image_num)
|
||||
.then_signal_fence_and_flush().unwrap();
|
||||
submissions.push(Box::new(future) as Box<_>);
|
||||
|
@ -405,7 +405,7 @@ fn main() {
|
||||
.build().unwrap();
|
||||
|
||||
let future = future
|
||||
.then_execute(queue.clone(), command_buffer)
|
||||
.then_execute(queue.clone(), command_buffer).unwrap()
|
||||
|
||||
// The color output is now expected to contain our triangle. But in order to show it on
|
||||
// the screen, we have to *present* the image by calling `present`.
|
||||
|
Loading…
Reference in New Issue
Block a user