Skip to content

Commit 70a2870

Browse files
fix: Fix bug when passing foveation config params to ALVR (#342)
Co-authored-by: yoyobuae <4140334+yoyobuae@users.noreply.github.com>
1 parent a0c420a commit 70a2870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/mobile/android/PhoneVR/app/src/main/cpp/alvr_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ extern "C" JNIEXPORT void JNICALL Java_viritualisres_phonevr_ALVRActivity_render
415415
render_config.enable_foveation = true;
416416
render_config.foveation_center_size_x =
417417
settings_json["video"]["foveated_encoding"]["Enabled"]
418-
["center_shift_x"];
418+
["center_size_x"];
419419
render_config.foveation_center_size_y =
420420
settings_json["video"]["foveated_encoding"]["Enabled"]
421421
["center_size_y"];

0 commit comments

Comments
 (0)