diff --git a/Cargo.toml b/Cargo.toml index 51278e8..c7fb19b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ version = "0.2" optional = true [dependencies.wgpu] -version = "0.14" +version = "0.15" optional = true [dependencies.opencv] diff --git a/nokhwa-core/Cargo.toml b/nokhwa-core/Cargo.toml index d3515ee..3e7c3db 100644 --- a/nokhwa-core/Cargo.toml +++ b/nokhwa-core/Cargo.toml @@ -33,7 +33,7 @@ features = ["derive"] optional = true [dependencies.wgpu] -version = "0.14" +version = "0.15" optional = true [dependencies.opencv] diff --git a/nokhwa-core/src/traits.rs b/nokhwa-core/src/traits.rs index 496540d..3b43233 100644 --- a/nokhwa-core/src/traits.rs +++ b/nokhwa-core/src/traits.rs @@ -210,6 +210,7 @@ pub trait CaptureBackendTrait { dimension: TextureDimension::D2, format: TextureFormat::Rgba8UnormSrgb, usage: TextureUsages::TEXTURE_BINDING | TextureUsages::COPY_DST, + view_formats: &[], }); let width_nonzero = match NonZeroU32::try_from(4 * frame.width()) {