mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-21 00:39:59 +00:00
Fix startup when /dev/dri doesn't exist (#1027)
This commit is contained in:
parent
21a728ccd2
commit
fbe5e2486f
@ -995,6 +995,7 @@ std::vector<std::string> kms_display_names() {
|
||||
|
||||
if(!fs::exists("/dev/dri")) {
|
||||
BOOST_LOG(warning) << "Couldn't find /dev/dri, kmsgrab won't be enabled"sv;
|
||||
return {};
|
||||
}
|
||||
|
||||
if(!gbm::create_device) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user