summaryrefslogtreecommitdiffstats
path: root/benches
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-05-06 13:02:57 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-06 13:02:57 +0200
commitdb07b9ba9ef20c5995076992bf5592af12698000 (patch)
tree8918a04ce16b651b318bba4b0f76f33c6cd369a7 /benches
parenta94984d681875146d7af9f568bf8713503c1ca96 (diff)
parentea64e4f63af7a7af1bde869ff6acd9203122b151 (diff)
downloadiced-db07b9ba9ef20c5995076992bf5592af12698000.tar.gz
iced-db07b9ba9ef20c5995076992bf5592af12698000.tar.bz2
iced-db07b9ba9ef20c5995076992bf5592af12698000.zip
Merge pull request #2425 from iced-rs/fix/image-cache-fighting
Fix windows fighting over shared `image::Cache`
Diffstat (limited to '')
-rw-r--r--benches/wgpu.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/benches/wgpu.rs b/benches/wgpu.rs
index 3dd415db..2d308666 100644
--- a/benches/wgpu.rs
+++ b/benches/wgpu.rs
@@ -70,7 +70,8 @@ fn benchmark(
Some(Antialiasing::MSAAx4),
);
- let mut renderer = Renderer::new(&engine, Font::DEFAULT, Pixels::from(16));
+ let mut renderer =
+ Renderer::new(&device, &engine, Font::DEFAULT, Pixels::from(16));
let viewport =
graphics::Viewport::with_physical_size(Size::new(3840, 2160), 2.0);