Use the default values in the configuration class instead of repeating them

This commit is contained in:
Guillaume Meunier committed 2026-07-27 23:45:26 +02:00
1 parent bf77b93a17
commit 79fed879e2
9 files changed
+95 -70

No files matched your search

+2 -1
View File
@@ -1404,7 +1404,8 @@ void application::initialize()
spaces[size_t(xr::spaces::view)] = xr_session.create_reference_space(XR_REFERENCE_SPACE_TYPE_VIEW);
spaces[size_t(xr::spaces::world)] = xr_session.create_reference_space(XR_REFERENCE_SPACE_TYPE_STAGE);
config.emplace(xr_system_id, xr_session);
config.emplace(xr_system_id, xr_session, application::get_config_path() / "client.json");
default_config.emplace(xr_system_id, xr_session);
// HTC face tracker fails if created later
// we can destroy it right away, it actually stores static handles