mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
st/oxr: propagate a few more space handling return codes
This commit is contained in:
parent
58c9679087
commit
075fde3613
|
@ -805,7 +805,9 @@ handle_space(struct oxr_logger *log,
|
|||
}
|
||||
|
||||
struct xrt_space_relation rel;
|
||||
oxr_space_pure_pose_from_space(log, timestamp, &pose, spc, &rel);
|
||||
if (!oxr_space_pure_pose_from_space(log, timestamp, &pose, spc, &rel)) {
|
||||
return false;
|
||||
}
|
||||
*out_pose = rel.pose;
|
||||
|
||||
return true;
|
||||
|
|
|
@ -253,7 +253,9 @@ oxr_space_pure_relation_from_space(struct oxr_logger *log,
|
|||
{
|
||||
struct xrt_space_relation pure_space_relation;
|
||||
struct xrt_device *xdev;
|
||||
oxr_space_get_pure_relation(log, spc, time, &pure_space_relation, &xdev);
|
||||
if (!oxr_space_get_pure_relation(log, spc, time, &pure_space_relation, &xdev)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
struct xrt_relation_chain xrc = {0};
|
||||
m_relation_chain_push_relation(&xrc, &pure_space_relation);
|
||||
|
|
Loading…
Reference in a new issue