mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-30 05:43:06 -08:00
Use the default values in the configuration class instead of repeating them
This commit is contained in:
1 parent
bf77b93a17
commit
79fed879e2
9 files changed
+95
-70
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user