aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-14 14:42:01 +0100
committerSimon Ser <contact@emersion.fr>2024-02-14 17:13:25 +0100
commit741aaa3f761a7175f622150defac514da8f2fed6 (patch)
tree6a4016603e333c5363ba53a498054bfb56539a08 /include/backend
parent76ed82c10139c9154efde0abae01c43516a8dca9 (diff)
backend/drm: drop wlr_drm_backend arg from create_mode_blob()
No need for this, the backend can be grabbed from the connector.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/iface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h
index dbe4c908..2a90c4b5 100644
--- a/include/backend/drm/iface.h
+++ b/include/backend/drm/iface.h
@@ -31,8 +31,7 @@ extern const struct wlr_drm_interface liftoff_iface;
bool drm_legacy_crtc_set_gamma(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc, size_t size, uint16_t *lut);
-bool create_mode_blob(struct wlr_drm_backend *drm,
- struct wlr_drm_connector *conn,
+bool create_mode_blob(struct wlr_drm_connector *conn,
const struct wlr_drm_connector_state *state, uint32_t *blob_id);
bool create_gamma_lut_blob(struct wlr_drm_backend *drm,
size_t size, const uint16_t *lut, uint32_t *blob_id);