aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-12 18:01:40 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-29 09:48:33 -0400
commit3132c0ab107d0251652fe1cb43830d5d0cc57e8f (patch)
tree54208a9720aa82098ba3c84ff4606c4acac68b8e /backend/drm
parentf211bc983aeeacd7f4d6af8c47845e8ddc2f7e9b (diff)
output: drop wlr_output_state.buffer_type
This is now unconditionally set to WLR_OUTPUT_STATE_BUFFER_SCANOUT.
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index ed301b25..e7628e2d 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -396,7 +396,6 @@ static bool drm_connector_set_pending_fb(struct wlr_drm_connector *conn,
struct wlr_drm_plane *plane = crtc->primary;
assert(state->committed & WLR_OUTPUT_STATE_BUFFER);
- assert(state->buffer_type == WLR_OUTPUT_STATE_BUFFER_SCANOUT);
struct wlr_buffer *local_buf;
if (drm->parent) {