missed ops in tutorial2

pull/94/head
Ben Hansen 4 years ago
parent 9d15abf7ee
commit 4acb2d60c1

@ -1 +1 @@
Subproject commit bb9bc645150aa7e2cc61e1e7ed35eb4b6eb2b378
Subproject commit cc7559b927710f2237324c274b3b88238fa1d793

@ -283,14 +283,15 @@ Now we can actually get to clearing the screen (long time coming). We need to us
wgpu::RenderPassColorAttachmentDescriptor {
attachment: &frame.view,
resolve_target: None,
load_op: wgpu::LoadOp::Clear,
store_op: wgpu::StoreOp::Store,
clear_color: wgpu::Color {
r: 0.1,
g: 0.2,
b: 0.3,
a: 1.0,
},
ops: wgpu::Operations {
load: wgpu::LoadOp::Clear(wgpu::Color {
r: 0.1,
g: 0.2,
b: 0.3,
a: 1.0,
}),
store: true,
}
}
],
depth_stencil_attachment: None,

Loading…
Cancel
Save