mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-18 02:55:12 +00:00
fix(linux/kms)!: Use connector type index from KMS instead of self calculation (#5489)
This commit is contained in:
@ -655,12 +655,12 @@ namespace platf {
|
||||
}
|
||||
}
|
||||
|
||||
auto index = ++conn_type_count[conn->connector_type];
|
||||
++conn_type_count[conn->connector_type];
|
||||
|
||||
monitors.emplace_back(connector_t {
|
||||
conn->connector_type,
|
||||
crtc_id,
|
||||
index,
|
||||
conn->connector_type_id,
|
||||
conn->connector_id,
|
||||
conn->connection == DRM_MODE_CONNECTED,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user