Rename Renderer::present to with_primitives
This commit is contained in:
parent
aca9d414d3
commit
9fe65ed729
5 changed files with 8 additions and 6 deletions
|
|
@ -74,7 +74,7 @@ impl iced_graphics::window::GLCompositor for Compositor {
|
|||
gl.clear(glow::COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
renderer.present(|backend, primitive| {
|
||||
renderer.with_primitives(|backend, primitive| {
|
||||
backend.present(gl, primitive, viewport, overlay);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue