mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Fix startup when /dev/dri doesn't exist (#1027)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user