Merge pull request #366 from liningpan/master

fix: typo in write_texture
pull/372/head
sotrh 2 years ago committed by GitHub
commit 884714875c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,7 @@ queue.write_texture(
aspect: wgpu::TextureAspect::All,
},
// The actual pixel data
diffuse_rgba,
&diffuse_rgba,
// The layout of the texture
wgpu::ImageDataLayout {
offset: 0,

Loading…
Cancel
Save