feat(display): Configure display device based on user config (#3441)
This commit is contained in:
parent
df0bc3f82f
commit
76bea8acb9
22 changed files with 1690 additions and 95 deletions
|
|
@ -137,7 +137,7 @@ main(int argc, char *argv[]) {
|
|||
// Adding guard here first as it also performs recovery after crash,
|
||||
// otherwise people could theoretically end up without display output.
|
||||
// It also should be destroyed before forced shutdown to expedite the cleanup.
|
||||
auto display_device_deinit_guard = display_device::init();
|
||||
auto display_device_deinit_guard = display_device::init(platf::appdata() / "display_device.state", config::video);
|
||||
if (!display_device_deinit_guard) {
|
||||
BOOST_LOG(error) << "Display device session failed to initialize"sv;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue