mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
st/oxr: Fix local[e]_ref_space typo
This commit is contained in:
parent
031a53d6fd
commit
f633680506
|
@ -233,11 +233,11 @@ oxr_stage_ref_relation(struct oxr_logger *log,
|
|||
}
|
||||
|
||||
static XrResult
|
||||
oxr_locale_ref_relation(struct oxr_logger *log,
|
||||
struct oxr_session *sess,
|
||||
struct oxr_space *baseSpc,
|
||||
XrTime time,
|
||||
struct xrt_space_relation *out_relation)
|
||||
oxr_local_ref_relation(struct oxr_logger *log,
|
||||
struct oxr_session *sess,
|
||||
struct oxr_space *baseSpc,
|
||||
XrTime time,
|
||||
struct xrt_space_relation *out_relation)
|
||||
{
|
||||
if (baseSpc->type == XR_REFERENCE_SPACE_TYPE_STAGE) {
|
||||
out_relation->pose = sess->initial_head_relation.pose;
|
||||
|
@ -274,7 +274,7 @@ oxr_space_ref_relation(struct oxr_logger *log,
|
|||
} else if (space->type == XR_REFERENCE_SPACE_TYPE_STAGE) {
|
||||
oxr_stage_ref_relation(log, sess, baseSpc, time, out_relation);
|
||||
} else if (space->type == XR_REFERENCE_SPACE_TYPE_LOCAL) {
|
||||
oxr_locale_ref_relation(log, sess, baseSpc, time, out_relation);
|
||||
oxr_local_ref_relation(log, sess, baseSpc, time, out_relation);
|
||||
} else {
|
||||
out_relation->relation_flags = XRT_SPACE_RELATION_BITMASK_NONE;
|
||||
return XR_SUCCESS;
|
||||
|
|
Loading…
Reference in a new issue