Fix windows fighting over shared image::Cache
Image caches are local to each window now.
This commit is contained in:
parent
a94984d681
commit
547446f0de
8 changed files with 77 additions and 70 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue