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, view: target_views.output,
resolve_target: None, resolve_target: None,
ops: wgpu::Operations { ops: wgpu::Operations {
load: wgpu::LoadOp::Clear(wgpu::Color { load: wgpu::LoadOp::Clear(wgpu::Color::BLACK),
r: 0.1,
g: 0.2,
b: 0.3,
a: 1.0,
}),
store: true, store: true,
}, },
}], }],