mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
t/c/builder_lighthouse: Set camera orientation correctly
This commit is contained in:
parent
b735d99569
commit
0ddf3e0e19
|
@ -188,7 +188,12 @@ valve_index_hand_track(struct lighthouse_system *lhs,
|
|||
|
||||
LH_ASSERT_(stereo_calib != NULL);
|
||||
|
||||
struct t_camera_extra_info info;
|
||||
// zero-initialized out of paranoia
|
||||
struct t_camera_extra_info info = {0};
|
||||
|
||||
info.views[0].camera_orientation = CAMERA_ORIENTATION_0;
|
||||
info.views[1].camera_orientation = CAMERA_ORIENTATION_0;
|
||||
|
||||
info.views[0].boundary_type = HT_IMAGE_BOUNDARY_CIRCLE;
|
||||
info.views[1].boundary_type = HT_IMAGE_BOUNDARY_CIRCLE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue