Revert to explicit hmd_traits initialization

This commit is contained in:
Patrick Nicolas
2026-05-10 19:11:17 +02:00
committed by xytovl
parent 50a0f1a0ed
commit 1b9b74cce1
11 changed files with 45 additions and 26 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ xr::face_tracker_type xr::face_tracker_supported(xr::instance & instance, xr::sy
return xr::face_tracker_type::htc;
}
if (hmd_traits.pico_face_tracker)
if (hmd_traits().pico_face_tracker)
{
// The extension used by Pico is not published
// it doesn't even need to be requested...
@@ -85,7 +85,7 @@ xr::face_tracker xr::make_face_tracker(xr::instance & instance, xr::system & sys
properties.supportLipFacialTracking);
}
if (hmd_traits.pico_face_tracker)
if (hmd_traits().pico_face_tracker)
{
// The extension used by Pico is not published
// it doesn't even need to be requested...