diff --git a/src/xrt/drivers/survive/survive_driver.c b/src/xrt/drivers/survive/survive_driver.c index 63beb076c..330dad168 100644 --- a/src/xrt/drivers/survive/survive_driver.c +++ b/src/xrt/drivers/survive/survive_driver.c @@ -447,8 +447,13 @@ survive_device_get_view_pose(struct xrt_device *xdev, uint32_t view_index, struct xrt_pose *out_pose) { - struct survive_device *survive = (struct survive_device *)xdev; + // Only supports two views. + assert(view_index < 2); + u_device_get_view_pose(eye_relation, view_index, out_pose); + + // This is for the Index' canted displays, on the Vive [Pro] they are identity. + struct survive_device *survive = (struct survive_device *)xdev; out_pose->orientation = survive->hmd.config.display.rot[view_index]; }