started hand (and probably slight openxr extension) refactor. :3

This commit is contained in:
Schmarni
2023-11-04 17:26:30 +01:00
parent ccd505051d
commit 538000899c
9 changed files with 299 additions and 119 deletions

View File

@@ -52,6 +52,7 @@ pub fn initialize_xr_graphics(
let mut enabled_extensions = xr::ExtensionSet::default();
enabled_extensions.khr_vulkan_enable2 = true;
enabled_extensions.khr_convert_timespec_time = true;
enabled_extensions.other.push("XR_METAX2_detached_controllers".into());
#[cfg(target_os = "android")]
{
enabled_extensions.khr_android_create_instance = true;