Update openxrs to fix jsoncpp compilation error (#215)

Update openxrs to get the fix for a cmake error: "requires target
'jsoncpp_interface' that is not in any export set" [1], and update call
to create_space() to take an API change [2] into account.

[1] https://github.com/Ralith/openxrs/issues/148
[2] d8ea5553d5
This commit is contained in:
James Hogan
2025-05-16 20:22:22 +01:00
committed by GitHub
parent f85e6088ce
commit b543a6890e
3 changed files with 6 additions and 7 deletions

View File

@@ -299,10 +299,9 @@ impl OpenXrInputSource {
impl OpenXrHand {
pub(super) fn new(xr: &XrState, source: OpenXrHandSource) -> Result<Self, xr::sys::Result> {
let space =
source
.pose
.create_space(xr.session.clone(), xr::Path::NULL, xr::Posef::IDENTITY)?;
let space = source
.pose
.create_space(&xr.session, xr::Path::NULL, xr::Posef::IDENTITY)?;
Ok(Self { source, space })
}