diff --git a/api/rust/examples/default_config/main.rs b/api/rust/examples/default_config/main.rs index 3cdf9d4..9fe8d7b 100644 --- a/api/rust/examples/default_config/main.rs +++ b/api/rust/examples/default_config/main.rs @@ -16,6 +16,7 @@ use pinnacle_api::{ #[pinnacle_api::config(modules)] async fn main() { // Deconstruct to get all the APIs. + #[allow(unused_variables)] let ApiModules { pinnacle, process, @@ -24,7 +25,7 @@ async fn main() { output, tag, layout, - render: _, + render, } = modules; let mod_key = Mod::Ctrl; diff --git a/api/rust/src/render.rs b/api/rust/src/render.rs index e288108..f12d0b2 100644 --- a/api/rust/src/render.rs +++ b/api/rust/src/render.rs @@ -18,7 +18,7 @@ pub enum ScalingFilter { /// Use a bilinear filter. /// /// This will make up- and downscaling blurry. - Bilinear, + Bilinear = 1, /// Use a nearest neighbor filter. /// /// This will cause scaling to look pixelated.