Fix resolve target changes
This commit is contained in:
parent
7182d73e60
commit
18d8d32af6
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