Fix resolve target changes

This commit is contained in:
hodasemi 2023-01-22 18:28:17 +01:00
parent 95bb61695e
commit 26f762ec4f

View file

@ -60,7 +60,7 @@ impl BackgroundGenerator {
clear_value: ClearValue::Color([0.0, 0.0, 0.0, 0.0]),
})
.set_sample_count(max_supported_sample_count)
.add_resolve_targets(vec![image.clone()])
.add_resolve_targets((vec![image.clone()], true))
.use_queue(queue.clone())
.build(&device)?,
)