backend/drm: Fix typo

This commit is contained in:
Alexander Orzechowski 2023-06-20 22:54:51 -04:00 committed by Simon Ser
parent 1e68e1f661
commit ecbe48f3bc

View file

@ -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 && state->adaptive_sync_enabled &&
!drm_connector_supports_vrr(conn)) { !drm_connector_supports_vrr(conn)) {
goto out; goto out;