summaryrefslogtreecommitdiffstats
path: root/graphics/src/renderer.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-22 01:35:14 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-22 01:35:14 +0100
commit53a183fe0d6aed460fbb8155ac9541757277aab3 (patch)
tree449574ac4d2d14a146db74a1fd96e8075a394db4 /graphics/src/renderer.rs
parentb972ebca8f8c23d2df1b45bb26038789766a5a65 (diff)
downloadiced-53a183fe0d6aed460fbb8155ac9541757277aab3.tar.gz
iced-53a183fe0d6aed460fbb8155ac9541757277aab3.tar.bz2
iced-53a183fe0d6aed460fbb8155ac9541757277aab3.zip
Restore `canvas::Frame` API
Diffstat (limited to '')
-rw-r--r--graphics/src/renderer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index 3b21aa11..2fcb55aa 100644
--- a/graphics/src/renderer.rs
+++ b/graphics/src/renderer.rs
@@ -257,7 +257,8 @@ impl<B: Backend> mesh::Renderer for Renderer<B> {
impl<B> crate::geometry::Renderer for Renderer<B>
where
B: Backend + crate::geometry::Backend,
- B::Frame: crate::geometry::Frame<Geometry = Primitive<B::Primitive>>,
+ B::Frame:
+ crate::geometry::frame::Backend<Geometry = Primitive<B::Primitive>>,
{
type Frame = B::Frame;
type Geometry = Primitive<B::Primitive>;