Set clear color to transparent

This commit is contained in:
mars 2022-11-08 21:56:32 -07:00
parent b4da999c24
commit 69f067b62a
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ impl Renderer {
view: target.texture,
resolve_target: None,
ops: Operations {
load: LoadOp::Clear(Color::BLACK),
load: LoadOp::Clear(Color::TRANSPARENT),
store: true,
},
})],