aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-06-20 22:54:51 -0400
committerSimon Ser <contact@emersion.fr>2023-06-21 10:23:56 +0200
commitecbe48f3bc534768f6958bc8e83383d3f8da5e0e (patch)
tree5e7f9e85fb1d2d1fe636a06222bd244348565874 /backend
parent1e68e1f661e3e9a03ce306ed1e03976942444e96 (diff)
backend/drm: Fix typo
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index cc887a14..13bcb9d8 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -621,7 +621,7 @@ static bool drm_connector_test(struct wlr_output *output,
}
}
- if ((state->committed & WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED) &&
+ if ((state->committed & WLR_OUTPUT_STATE_ADAPTIVE_SYNC_ENABLED) &&
state->adaptive_sync_enabled &&
!drm_connector_supports_vrr(conn)) {
goto out;