Merge pull request #237 from TheBlueFireFox/master

Fixed issue with code example was not ported to 0.10.x
pull/238/head
sotrh 3 years ago committed by GitHub
commit d63ab6f8d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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