mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
st/oxr: Use CMake-derived version constants for OpenXR runtime version
This commit is contained in:
parent
44d7b8489c
commit
c91928f39e
|
@ -401,7 +401,7 @@ oxr_instance_create(struct oxr_logger *log,
|
||||||
XrResult
|
XrResult
|
||||||
oxr_instance_get_properties(struct oxr_logger *log, struct oxr_instance *inst, XrInstanceProperties *instanceProperties)
|
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'",
|
snprintf(instanceProperties->runtimeName, XR_MAX_RUNTIME_NAME_SIZE - 1, "Monado(XRT) by Collabora et al '%s'",
|
||||||
u_git_tag);
|
u_git_tag);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue