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
340 stars 96 forks source link

Add ability to use extension dispatch table when missing extensions #56

Closed chrisfromwork closed 4 years ago

chrisfromwork commented 4 years ago

We are looking to use the XrUtility files in a project referencing the OpenXR-SDK repo as a submodule. Some extensions aren't present when referencing OpenXR-SDK compared to this project. This change allows developers to use the extension dispatch table defined in the XrUtility codebase when preview extensions/win32 extensions aren't present.

I've tested building this when neither win32/previews are present, when only win32 is present and when both win32 and preview extensions are present. I'm not sure if there is a way to test instances when win32 isn't present but preview extensions are?