aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/atomic.c')
-rw-r--r--backend/drm/atomic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c
index 23f9d60f..35dca7d4 100644
--- a/backend/drm/atomic.c
+++ b/backend/drm/atomic.c
@@ -166,9 +166,9 @@ error:
atom->failed = true;
}
-static bool atomic_crtc_commit(struct wlr_drm_backend *drm,
- struct wlr_drm_connector *conn, const struct wlr_output_state *state,
- uint32_t flags, bool test_only) {
+static bool atomic_crtc_commit(struct wlr_drm_connector *conn,
+ const struct wlr_output_state *state, uint32_t flags, bool test_only) {
+ struct wlr_drm_backend *drm = conn->backend;
struct wlr_output *output = &conn->output;
struct wlr_drm_crtc *crtc = conn->crtc;