diff --git a/tiny_skia/src/geometry.rs b/tiny_skia/src/geometry.rs index 0d5fff62fd..681bf25d3c 100644 --- a/tiny_skia/src/geometry.rs +++ b/tiny_skia/src/geometry.rs @@ -256,6 +256,7 @@ impl geometry::frame::Backend for Frame { fn paste(&mut self, frame: Self) { self.primitives.extend(frame.primitives); self.text.extend(frame.text); + self.images.extend(frame.images); } fn translate(&mut self, translation: Vector) { diff --git a/wgpu/src/geometry.rs b/wgpu/src/geometry.rs index 8e6f77d762..a27cef07e9 100644 --- a/wgpu/src/geometry.rs +++ b/wgpu/src/geometry.rs @@ -395,6 +395,7 @@ impl geometry::frame::Backend for Frame { } fn paste(&mut self, frame: Frame) { + self.meshes.extend(frame.meshes); self.meshes .extend(frame.buffers.into_meshes(frame.clip_bounds));