diff --git a/alvr/openxr-client/alxr-android-client/src/lib.rs b/alvr/openxr-client/alxr-android-client/src/lib.rs index a35f7c8026..966421b0da 100644 --- a/alvr/openxr-client/alxr-android-client/src/lib.rs +++ b/alvr/openxr-client/alxr-android-client/src/lib.rs @@ -139,7 +139,7 @@ fn run(app_data: &mut AppData) -> Result<(), Box> { noSuggestedBindings: APP_CONFIG.no_bindings, noServerFramerateLock: APP_CONFIG.no_server_framerate_lock, noFrameSkip: APP_CONFIG.no_frameskip, - enableLocalDimming: APP_CONFIG.enable_localdimming, + disableLocalDimming: APP_CONFIG.disable_localdimming, }; let mut sys_properties = ALXRSystemProperties::new(); if !alxr_init(&ctx, &mut sys_properties) { diff --git a/alvr/openxr-client/alxr-client/src/main.rs b/alvr/openxr-client/alxr-client/src/main.rs index 441aa17a05..7f951ef64f 100644 --- a/alvr/openxr-client/alxr-client/src/main.rs +++ b/alvr/openxr-client/alxr-client/src/main.rs @@ -57,7 +57,7 @@ fn main() { noSuggestedBindings: APP_CONFIG.no_bindings, noServerFramerateLock: false, noFrameSkip: false, - enableLocalDimming: APP_CONFIG.enable_localdimming, + disableLocalDimming: APP_CONFIG.disable_localdimming, }; let mut sys_properties = ALXRSystemProperties::new(); if !alxr_init(&ctx, &mut sys_properties) { diff --git a/alvr/openxr-client/alxr-common/src/lib.rs b/alvr/openxr-client/alxr-common/src/lib.rs index 088fa9601d..2c86248ece 100644 --- a/alvr/openxr-client/alxr-common/src/lib.rs +++ b/alvr/openxr-client/alxr-common/src/lib.rs @@ -71,7 +71,7 @@ pub struct Options { pub no_frameskip: bool, #[structopt(/*short,*/ long)] - pub enable_localdimming: bool, + pub disable_localdimming: bool, // /// Set speed // // we don't want to name it "speed", need to look smart // #[structopt(short = "v", long = "velocity", default_value = "42")] @@ -108,7 +108,7 @@ impl Options { no_bindings: false, no_server_framerate_lock: false, no_frameskip: false, - enable_localdimming: false, + disable_localdimming: false, }; let sys_properties = AndroidSystemProperties::new(); @@ -162,13 +162,13 @@ impl Options { ); } - let property_name = "debug.alxr.enable_localdimming"; + let property_name = "debug.alxr.disable_localdimming"; if let Some(value) = sys_properties.get(&property_name) { - new_options.enable_localdimming = std::str::FromStr::from_str(value.as_str()) - .unwrap_or(new_options.enable_localdimming); + new_options.disable_localdimming = std::str::FromStr::from_str(value.as_str()) + .unwrap_or(new_options.disable_localdimming); println!( "ALXR System Property: {property_name}, input: {value}, parsed-result: {}", - new_options.enable_localdimming + new_options.disable_localdimming ); } @@ -190,7 +190,7 @@ impl Options { no_bindings: false, no_server_framerate_lock: false, no_frameskip: false, - enable_localdimming: false, + disable_localdimming: false, }; new_options } diff --git a/alvr/openxr-client/alxr-engine-sys/cpp/ALVR-OpenXR-Engine b/alvr/openxr-client/alxr-engine-sys/cpp/ALVR-OpenXR-Engine index 19aec57f86..82de4792cc 160000 --- a/alvr/openxr-client/alxr-engine-sys/cpp/ALVR-OpenXR-Engine +++ b/alvr/openxr-client/alxr-engine-sys/cpp/ALVR-OpenXR-Engine @@ -1 +1 @@ -Subproject commit 19aec57f860d44fed4078d1906b6cd61e5e258f3 +Subproject commit 82de4792ccd09f84652a31f1063b39b7424dc4ce