backend/drm: drop wlr_drm_backend arg from create_mode_blob()

No need for this, the backend can be grabbed from the connector.
This commit is contained in:
Simon Ser 2024-02-14 14:42:01 +01:00
parent 76ed82c101
commit 741aaa3f76
3 changed files with 5 additions and 7 deletions

View file

@ -317,7 +317,7 @@ static bool crtc_commit(struct wlr_drm_connector *conn,
uint32_t mode_id = crtc->mode_id;
if (modeset) {
if (!create_mode_blob(drm, conn, state, &mode_id)) {
if (!create_mode_blob(conn, state, &mode_id)) {
return false;
}
}