fix unused warning

This commit is contained in:
l1npengtul
2024-10-12 23:30:13 +09:00
parent 21a357f082
commit fc64a23b3d
-1
View File
@@ -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 {