From f633680506d5d50af774d5c3303594af856345e6 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Mon, 28 Feb 2022 14:40:59 +0100 Subject: [PATCH] st/oxr: Fix local[e]_ref_space typo --- src/xrt/state_trackers/oxr/oxr_space.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_space.c b/src/xrt/state_trackers/oxr/oxr_space.c index 04cd1cc59..648439601 100644 --- a/src/xrt/state_trackers/oxr/oxr_space.c +++ b/src/xrt/state_trackers/oxr/oxr_space.c @@ -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;