Address Clippy lints
This commit is contained in:
parent
e053e25d2c
commit
15f794b7a8
43 changed files with 147 additions and 172 deletions
|
|
@ -134,7 +134,7 @@ impl Blit {
|
|||
match &mut self.targets {
|
||||
None => {
|
||||
self.targets = Some(Targets::new(
|
||||
&device,
|
||||
device,
|
||||
self.format,
|
||||
&self.texture_layout,
|
||||
self.sample_count,
|
||||
|
|
@ -145,7 +145,7 @@ impl Blit {
|
|||
Some(targets) => {
|
||||
if targets.width != width || targets.height != height {
|
||||
self.targets = Some(Targets::new(
|
||||
&device,
|
||||
device,
|
||||
self.format,
|
||||
&self.texture_layout,
|
||||
self.sample_count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue