fix add_space locate_spaces check, load xrLocateSpacesKHR on OpenXR 1.0 if supported

This commit is contained in:
Sapphire
2025-07-03 09:26:02 +02:00
committed by xytovl
parent 1ad015ff65
commit 66878a259d
2 changed files with 10 additions and 9 deletions
+1
View File
@@ -1088,6 +1088,7 @@ void application::initialize()
// Optional extensions
std::vector<std::string> opt_extensions;
opt_extensions.push_back(XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME);
opt_extensions.push_back(XR_KHR_LOCATE_SPACES_EXTENSION_NAME);
opt_extensions.push_back(XR_EXT_HAND_TRACKING_EXTENSION_NAME);
opt_extensions.push_back(XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME);
opt_extensions.push_back(XR_FB_PASSTHROUGH_EXTENSION_NAME);