Full range wgpu partial fix #4611
Annotations
2 errors and 1 warning
alvr/server_core/src/connection.rs#L763
error[E0063]: missing field `use_full_range` in initializer of `alvr_packets::NegotiatedStreamingConfig`
--> alvr\server_core\src\connection.rs:763:10
|
763 | &NegotiatedStreamingConfig {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `use_full_range`
|
|
alvr/packets/src/lib.rs#L177
warning: unnecessary closure used to substitute value for `Result::Err`
--> alvr\packets\src\lib.rs:177:26
|
177 | let use_full_range = json::from_value(negotiated_json["use_full_range"].clone())
| __________________________^
178 | | .unwrap_or_else(|_| settings.video.encoder_config.use_full_range);
| |_________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
help: use `unwrap_or` instead
|
178 | .unwrap_or(settings.video.encoder_config.use_full_range);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
This job failed
Loading