Skip to content

Commit

Permalink
Don't signal fence and flush in renderer, let user control it (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Mar 23, 2024
1 parent 447dc9e commit c4f59f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,8 @@ impl Renderer {
let command_buffer = command_buffer_builder.build().unwrap();
let after_main_cb =
before_main_cb_future.then_execute(self.gfx_queue.clone(), command_buffer).unwrap();
let future =
after_main_cb.then_signal_fence_and_flush().expect("Failed to signal fence and flush");
// Return our future
Box::new(future)
Box::new(after_main_cb)
}

pub fn draw_on_subpass_image(
Expand Down

0 comments on commit c4f59f0

Please sign in to comment.