Skip to content

Commit

Permalink
diag: re-word CreateBindGroupError::InvalidTextureSampleType
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Nov 12, 2024
1 parent 1f19391 commit d7ebecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-core/src/binding_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub enum CreateBindGroupError {
view_samples: u32,
},
#[error(
"Texture binding {} expects sample type = {:?}, but given a view with format = {:?} (sample type = {:?})",
"Texture binding {} expects sample type {:?}, but was given a view with format {:?} (sample type {:?})",
binding,
layout_sample_type,
view_format,
Expand Down

0 comments on commit d7ebecd

Please sign in to comment.