mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Remove comment introduced in https://github.com/gfx-rs/wgpu/pull/1144
This commit is contained in:
1 parent
c788b1cef6
commit
c01e2d10ce
1 file changed
-2
@@ -726,8 +726,6 @@ impl<'a, B: GfxBackend> RenderPassInfo<'a, B> {
|
||||
)) = mismatching_dimensions
|
||||
{
|
||||
return Err(RenderPassErrorInner::AttachmentsDimensionMismatch {
|
||||
// okay to unwrap: for `mismatching_dimensions` to be set, `attachment_{width/height}` must have been
|
||||
// set, which includes `attachment_type_name` being set in a later `else` block
|
||||
previous_attachment_type_name: attachment_type_name,
|
||||
mismatching_attachment_type_name,
|
||||
previous_dimensions,
|
||||
|
||||
Reference in new issue
Block a user