aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-06 17:44:31 +0200
committerKenny Levinsen <kl@kl.wtf>2021-04-29 19:51:57 +0200
commit218955ce959e92a3c4be27340d8033c2b6710972 (patch)
treed2f45dbc9764e153c15ffb5e088fe5c162e47989 /include/backend/drm
parent7aba881c474edc5b03af013d81e55a18195296c4 (diff)
backend/drm: remove mode arg from drm_connector_set_mode
All of the information is in wlr_output_state.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 4715cbf7..6201a328 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -144,7 +144,7 @@ void scan_drm_connectors(struct wlr_drm_backend *state);
int handle_drm_event(int fd, uint32_t mask, void *data);
void destroy_drm_connector(struct wlr_drm_connector *conn);
bool drm_connector_set_mode(struct wlr_drm_connector *conn,
- const struct wlr_output_state *state, struct wlr_output_mode *mode);
+ const struct wlr_output_state *state);
bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn);
bool drm_connector_supports_vrr(struct wlr_drm_connector *conn);
size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm,