Skip to content

Commit

Permalink
fix unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
l1npengtul committed Oct 12, 2024
1 parent 21a357f commit fc64a23
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nokhwa-core/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ pub trait CaptureBackendTrait {
label: Option<&'a str>,
) -> Result<WgpuTexture, NokhwaError> {
use crate::pixel_format::RgbAFormat;
use std::num::NonZeroU32;
let frame = self.frame()?.decode_image::<RgbAFormat>()?;

let texture_size = Extent3d {
Expand Down

0 comments on commit fc64a23

Please sign in to comment.