mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Restore previous clear color
This commit is contained in:
parent
eed7406a41
commit
6c5ca9370c
1 changed files with 9 additions and 1 deletions
|
@ -186,7 +186,15 @@ fn run_event_loop() -> Result<(), Box<dyn Error>> {
|
|||
color_attachments: &[wgpu::RenderPassColorAttachmentDescriptor {
|
||||
attachment: &frame.view,
|
||||
resolve_target: None,
|
||||
ops: Default::default(),
|
||||
ops: wgpu::Operations {
|
||||
load: wgpu::LoadOp::Clear(wgpu::Color {
|
||||
r: 0.007,
|
||||
g: 0.007,
|
||||
b: 0.007,
|
||||
a: 1.0,
|
||||
}),
|
||||
store: true,
|
||||
},
|
||||
}],
|
||||
depth_stencil_attachment: None,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue