diff options
author | 2024-05-06 13:02:57 +0200 | |
---|---|---|
committer | 2024-05-06 13:02:57 +0200 | |
commit | db07b9ba9ef20c5995076992bf5592af12698000 (patch) | |
tree | 8918a04ce16b651b318bba4b0f76f33c6cd369a7 /examples/integration | |
parent | a94984d681875146d7af9f568bf8713503c1ca96 (diff) | |
parent | ea64e4f63af7a7af1bde869ff6acd9203122b151 (diff) | |
download | iced-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 'examples/integration')
-rw-r--r-- | examples/integration/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index c4b57ecf..c2833210 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -157,7 +157,7 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> { let mut debug = Debug::new(); let mut engine = Engine::new(&adapter, &device, &queue, format, None); let mut renderer = - Renderer::new(&engine, Font::default(), Pixels::from(16)); + Renderer::new(&device, &engine, Font::default(), Pixels::from(16)); let mut state = program::State::new( controls, |