Fix resolve target changes
This commit is contained in:
parent
95bb61695e
commit
26f762ec4f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ impl BackgroundGenerator {
|
||||||
clear_value: ClearValue::Color([0.0, 0.0, 0.0, 0.0]),
|
clear_value: ClearValue::Color([0.0, 0.0, 0.0, 0.0]),
|
||||||
})
|
})
|
||||||
.set_sample_count(max_supported_sample_count)
|
.set_sample_count(max_supported_sample_count)
|
||||||
.add_resolve_targets(vec![image.clone()])
|
.add_resolve_targets((vec![image.clone()], true))
|
||||||
.use_queue(queue.clone())
|
.use_queue(queue.clone())
|
||||||
.build(&device)?,
|
.build(&device)?,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue