Rename Renderer::present to with_primitives
This commit is contained in:
parent
aca9d414d3
commit
9fe65ed729
5 changed files with 8 additions and 6 deletions
|
|
@ -179,13 +179,13 @@ impl iced_graphics::window::Compositor for Compositor {
|
|||
depth_stencil_attachment: None,
|
||||
});
|
||||
|
||||
renderer.present(|backend, primitive| {
|
||||
renderer.with_primitives(|backend, primitives| {
|
||||
backend.present(
|
||||
&mut self.device,
|
||||
&mut self.staging_belt,
|
||||
&mut encoder,
|
||||
view,
|
||||
primitive,
|
||||
primitives,
|
||||
viewport,
|
||||
overlay,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue