diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-18 12:19:53 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-26 23:34:37 +0200 |
commit | 61095f4a12461944a400094be6cfa677da7c9928 (patch) | |
tree | 216ad0469aaeb6a567ec483e12aaf6dfb3b9015f /include/backend | |
parent | 445750aa9a5b6d1e9e275fa9a533cee0e502febb (diff) |
backend/drm: make drm_connector_set_mode take a wlr_drm_connector
Since this is an internal DRM backend function, there's no reason we
need to take a generic wlr_output.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 6ec7fd28..30bf41a6 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -151,7 +151,7 @@ void finish_drm_resources(struct wlr_drm_backend *drm); void restore_drm_outputs(struct wlr_drm_backend *drm); void scan_drm_connectors(struct wlr_drm_backend *state); int handle_drm_event(int fd, uint32_t mask, void *data); -bool drm_connector_set_mode(struct wlr_output *output, +bool drm_connector_set_mode(struct wlr_drm_connector *conn, struct wlr_output_mode *mode); size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm, struct wlr_drm_crtc *crtc); |