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:
@@ -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 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user