Skip to content

Commit

Permalink
chore(fix): example
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Jul 18, 2023
1 parent 23657aa commit 473c016
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/triangle/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ impl fast3d_example::framework::Example for Example<'static> {
// Draw the RCP output
self.renderer.draw(&mut rpass);

// Clear the draw calls
self.render_data.clear_draw_calls();

drop(rpass);
queue.submit(Some(encoder.finish()));
}
Expand Down

0 comments on commit 473c016

Please sign in to comment.