summaryrefslogtreecommitdiffstats
path: root/examples/integration
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-12 03:10:46 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-12 03:10:46 +0200
commitafa8ad3b11818c431ea8c40fc4af10de528d9a8f (patch)
treee05b43b71be07b9e0d4b47b1ede30aa3fb2450ed /examples/integration
parent7decbb3d5d0e72fd4667840568411bcb867feca5 (diff)
downloadiced-afa8ad3b11818c431ea8c40fc4af10de528d9a8f.tar.gz
iced-afa8ad3b11818c431ea8c40fc4af10de528d9a8f.tar.bz2
iced-afa8ad3b11818c431ea8c40fc4af10de528d9a8f.zip
Fix `integration` example
Diffstat (limited to 'examples/integration')
-rw-r--r--examples/integration/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs
index 9818adf3..5b64cbd1 100644
--- a/examples/integration/src/main.rs
+++ b/examples/integration/src/main.rs
@@ -68,7 +68,7 @@ pub fn main() -> Result<(), winit::error::EventLoopError> {
Size::new(physical_size.width, physical_size.height),
window.scale_factor(),
);
- let clipboard = Clipboard::connect(&window);
+ let clipboard = Clipboard::connect(window.clone());
let backend =
wgpu::util::backend_bits_from_env().unwrap_or_default();