refactor hmd_traits into separate file, make class in application, and remove hardware.h/cpp
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "face_tracker.h"
|
||||
|
||||
#include "hardware.h"
|
||||
#include "application.h"
|
||||
#include "xr/instance.h"
|
||||
#include "xr/system.h"
|
||||
|
||||
@@ -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 (application::get_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 (application::get_hmd_traits().pico_face_tracker)
|
||||
{
|
||||
// The extension used by Pico is not published
|
||||
// it doesn't even need to be requested...
|
||||
|
||||
Reference in New Issue
Block a user