Use `wgpu::Color::TRANSPARENT`

This commit is contained in:
Héctor Ramón Jiménez 2020-08-27 19:30:56 +02:00
parent 3eb63762c7
commit 8d605be4e3
1 changed files with 1 additions and 6 deletions

View File

@ -341,12 +341,7 @@ impl Pipeline {
(
attachment,
Some(resolve_target),
wgpu::LoadOp::Clear(wgpu::Color {
r: 0.0,
g: 0.0,
b: 0.0,
a: 0.0,
}),
wgpu::LoadOp::Clear(wgpu::Color::TRANSPARENT),
)
} else {
(target, None, wgpu::LoadOp::Load)