diff --git a/src/devices/openxrheadset/OpenXrInterface.cpp b/src/devices/openxrheadset/OpenXrInterface.cpp index c412719..e89907a 100644 --- a/src/devices/openxrheadset/OpenXrInterface.cpp +++ b/src/devices/openxrheadset/OpenXrInterface.cpp @@ -173,7 +173,9 @@ bool OpenXrInterface::prepareXrInstance() std::vector> api_versions = {{XR_API_VERSION_1_0, "XR_API_VERSION_1_0"}, {XR_CURRENT_API_VERSION, "XR_CURRENT_API_VERSION"}, +#ifdef XR_API_VERSION_1_1 {XR_API_VERSION_1_1, "XR_API_VERSION_1_1"}, +#endif // XR_API_VERSION_1_1 }; size_t version_index = 0;