microsoft / OpenXR-MixedReality

OpenXR samples and preview headers for HoloLens and Windows Mixed Reality developers familiar with Visual Studio
https://aka.ms/openxr
MIT License
336 stars 96 forks source link

Cut & Paste error in XrExtensions.h #72

Closed iaincartwright closed 3 years ago

iaincartwright commented 3 years ago

I think line 61 of XrExtensions.h should be #define FOR_EACH_SPATIAL_ANCHOR_EXPORT_FUNCTION(_) -

The projects don't build with the current version of the openxr-sdk source as XR_MSFT_spatial_anchor_export_preview is not defined - this means that FOR_EACH_SPATIAL_ANCHOR_EXPORT_FUNCTION is never defined (due to the cut & paste error) so the FOR_EACH_EXTENSION_FUNCTION macro definition is invalid .

iaincartwright commented 3 years ago

Nevermind - I see that yl has fixed this already in https://github.com/microsoft/OpenXR-MixedReality/tree/yl/update_1.0.13