fix: typo in write_texture

missing reference
pull/366/head
Lining Pan 2 years ago committed by GitHub
parent bcb4282f1e
commit 6b2647cacb
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