aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index b1be7c8c..cc6fccaa 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -467,9 +467,6 @@ static bool drm_connector_commit_buffer(struct wlr_output *output) {
break;
case WLR_OUTPUT_STATE_BUFFER_SCANOUT:;
struct wlr_buffer *buffer = output->pending.buffer;
- if (!test_buffer(conn, output->pending.buffer)) {
- return false;
- }
if (!drm_fb_import(&plane->pending_fb, drm, buffer,
&crtc->primary->formats)) {
wlr_log(WLR_ERROR, "Failed to import buffer");