mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 14:42:25 +00:00
backend/drm: Remove call to CRTC realloc on scan
After a connector scan, new connectors might have appeared and old ones gone away. At this point, old CRTC allocations are already gone, while new allocations are not yet needed. Skip the call.
This commit is contained in:
parent
9f7ab85718
commit
96ad414ec9
@ -1811,8 +1811,6 @@ void scan_drm_connectors(struct wlr_drm_backend *drm,
|
||||
destroy_drm_connector(conn);
|
||||
}
|
||||
|
||||
realloc_crtcs(drm, NULL);
|
||||
|
||||
for (size_t i = 0; i < new_outputs_len; ++i) {
|
||||
struct wlr_drm_connector *conn = new_outputs[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user