Ask for a Size in Frame::new
This commit is contained in:
parent
b0825ce38b
commit
2381a9310c
2 changed files with 8 additions and 10 deletions
|
|
@ -61,7 +61,7 @@ impl Cache {
|
|||
}
|
||||
}
|
||||
|
||||
let mut frame = Frame::new(new_bounds.width, new_bounds.height);
|
||||
let mut frame = Frame::new(new_bounds);
|
||||
input.draw(&mut frame);
|
||||
|
||||
let primitive = Arc::new(frame.into_primitive());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue