@@ -155,6 +155,8 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static_roles.head = xdevs[xdev_count++] = &hmd;
|
||||||
|
|
||||||
if (hmd.face_tracking_supported)
|
if (hmd.face_tracking_supported)
|
||||||
static_roles.face = &hmd;
|
static_roles.face = &hmd;
|
||||||
|
|
||||||
@@ -225,8 +227,6 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static_roles.head = xdevs[xdev_count++] = &hmd;
|
|
||||||
|
|
||||||
if (roles.left >= 0)
|
if (roles.left >= 0)
|
||||||
roles.left_profile = xdevs[roles.left]->name;
|
roles.left_profile = xdevs[roles.left]->name;
|
||||||
if (roles.right >= 0)
|
if (roles.right >= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user