Skip to content

Commit

Permalink
feat(client_openxr): 🐛 Do not disable sRGB correction for Pico withou…
Browse files Browse the repository at this point in the history
…t HDR
  • Loading branch information
zmerp committed Apr 8, 2024
1 parent 68e8ddb commit 5cdeadc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alvr/client_openxr/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ impl StreamContext {
],
config.foveated_encoding_config.clone(),
platform != Platform::Lynx
&& platform != Platform::Pico4
&& platform != Platform::PicoNeo3,
config.encoder_config.enable_hdr != true,
&& !((platform == Platform::Pico4 || platform == Platform::PicoNeo3)
&& config.encoder_config.enable_hdr),
!config.encoder_config.enable_hdr,
config.encoder_config.encoding_gamma,
);

Expand Down

0 comments on commit 5cdeadc

Please sign in to comment.