Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed Oct 30, 2023
1 parent d2fbbb2 commit 8368b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-core/src/command/clear.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ fn clear_texture_via_buffer_copies<A: hal::Api>(

if texture_desc.format == wgt::TextureFormat::NV12 {
// TODO: Currently COPY_DST for NV12 textures is unsupported.
return Ok(());
return;
}

// Gather list of zero_buffer copies and issue a single command then to perform them
Expand Down

0 comments on commit 8368b2f

Please sign in to comment.