Fixed issue with code example was not ported to 0.10.x

pull/237/head
Adrian Hornung 3 years ago
parent a2285094c2
commit 6654cae15b

@ -65,6 +65,7 @@ queue.write_texture(
texture: &diffuse_texture,
mip_level: 0,
origin: wgpu::Origin3d::ZERO,
aspect: wgpu::TextureAspect::All,
},
// The actual pixel data
diffuse_rgba,

Loading…
Cancel
Save