Make clear color black

This commit is contained in:
mars 2022-06-28 20:40:50 -06:00
parent 98b811b95a
commit 80f150a9f5
1 changed files with 1 additions and 6 deletions

View File

@ -270,12 +270,7 @@ impl Renderer {
view: target_views.output,
resolve_target: None,
ops: wgpu::Operations {
load: wgpu::LoadOp::Clear(wgpu::Color {
r: 0.1,
g: 0.2,
b: 0.3,
a: 1.0,
}),
load: wgpu::LoadOp::Clear(wgpu::Color::BLACK),
store: true,
},
}],