Allow multiple configuration files
Will merge contents from @CMAKE_INSTALL_PREFIX@/share/wivrn/config.json /etc/wivrn/config.json ~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact) If -f option is provided, just parse that file, don't merge anything
This commit is contained in:
@@ -89,7 +89,7 @@ wivrn_hmd::wivrn_hmd(wivrn::wivrn_session * cnx,
|
||||
},
|
||||
cnx(cnx)
|
||||
{
|
||||
const auto config = configuration::read_user_configuration();
|
||||
const auto config = configuration();
|
||||
|
||||
auto eye_width = info.recommended_eye_width;
|
||||
eye_width = ((eye_width + 3) / 4) * 4;
|
||||
|
||||
Reference in New Issue
Block a user