Use wgpu::Color::TRANSPARENT
This commit is contained in:
parent
3eb63762c7
commit
8d605be4e3
@ -341,12 +341,7 @@ impl Pipeline {
|
|||||||
(
|
(
|
||||||
attachment,
|
attachment,
|
||||||
Some(resolve_target),
|
Some(resolve_target),
|
||||||
wgpu::LoadOp::Clear(wgpu::Color {
|
wgpu::LoadOp::Clear(wgpu::Color::TRANSPARENT),
|
||||||
r: 0.0,
|
|
||||||
g: 0.0,
|
|
||||||
b: 0.0,
|
|
||||||
a: 0.0,
|
|
||||||
}),
|
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
(target, None, wgpu::LoadOp::Load)
|
(target, None, wgpu::LoadOp::Load)
|
||||||
|
Loading…
Reference in New Issue
Block a user