aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/iface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm/iface.h')
-rw-r--r--include/backend/drm/iface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h
index 98f7e06c..d52bbd3d 100644
--- a/include/backend/drm/iface.h
+++ b/include/backend/drm/iface.h
@@ -9,12 +9,14 @@
struct wlr_drm_backend;
struct wlr_drm_connector;
struct wlr_drm_crtc;
+struct wlr_drm_connector_state;
// Used to provide atomic or legacy DRM functions
struct wlr_drm_interface {
// Commit all pending changes on a CRTC.
bool (*crtc_commit)(struct wlr_drm_connector *conn,
- const struct wlr_output_state *state, uint32_t flags, bool test_only);
+ const struct wlr_drm_connector_state *state, uint32_t flags,
+ bool test_only);
};
extern const struct wlr_drm_interface atomic_iface;