From c91928f39eaffac4444be8529339519baecab975 Mon Sep 17 00:00:00 2001 From: Robbie Bridgewater Date: Thu, 23 Mar 2023 16:56:22 -0400 Subject: [PATCH] st/oxr: Use CMake-derived version constants for OpenXR runtime version --- src/xrt/state_trackers/oxr/oxr_instance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_instance.c b/src/xrt/state_trackers/oxr/oxr_instance.c index c7119dd1e..34848e653 100644 --- a/src/xrt/state_trackers/oxr/oxr_instance.c +++ b/src/xrt/state_trackers/oxr/oxr_instance.c @@ -401,7 +401,7 @@ oxr_instance_create(struct oxr_logger *log, XrResult oxr_instance_get_properties(struct oxr_logger *log, struct oxr_instance *inst, XrInstanceProperties *instanceProperties) { - instanceProperties->runtimeVersion = XR_MAKE_VERSION(21, 0, 0); + instanceProperties->runtimeVersion = XR_MAKE_VERSION(u_version_major, u_version_minor, u_version_patch); snprintf(instanceProperties->runtimeName, XR_MAX_RUNTIME_NAME_SIZE - 1, "Monado(XRT) by Collabora et al '%s'", u_git_tag);