vcpkg/ports/openxr-loader/001-fix-array-decl.patch
Bradley Austin Davis 970fdf4e88
[openxr-loader] Update to latest version, official repo (#12060)
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-19 21:16:32 -07:00

27 lines
965 B
Diff

--- openxr.hpp 2020-08-16 14:42:30.845279600 -0700
+++ openxr.hpp 2020-08-16 14:45:19.707229200 -0700
@@ -18249,9 +18249,9 @@
public:
// ctor
SpatialGraphNodeSpaceCreateInfoMSFT (
- const SpatialGraphNodeTypeMSFT& nodeType_ = {},
- uint8_t nodeId[16]_ = 0,
- const Posef& pose_ = {}
+ const SpatialGraphNodeTypeMSFT& nodeType_,
+ uint8_t nodeId_[16],
+ const Posef& pose_
)
:
@@ -18259,9 +18259,9 @@
) ,
nodeType {nodeType_} ,
- nodeId {nodeId_} ,
pose {pose_}
{
+ memcpy(nodeId, nodeId_, 16);
}
operator const XrSpatialGraphNodeSpaceCreateInfoMSFT&() const { return *reinterpret_cast<const XrSpatialGraphNodeSpaceCreateInfoMSFT*>(this); }
operator XrSpatialGraphNodeSpaceCreateInfoMSFT &() {