Rename Renderer::present to with_primitives

This commit is contained in:
Héctor Ramón Jiménez 2021-11-05 15:38:27 +07:00
parent aca9d414d3
commit 9fe65ed729
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 8 additions and 6 deletions

View file

@ -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);
});
}