backend/drm: print error in set_plane_props

This makes it easier to understand which plane failed.
This commit is contained in:
Simon Ser 2020-05-07 12:08:26 +02:00 committed by Drew DeVault
parent 9412d34e2d
commit 51bbf31742
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ static void set_plane_props(struct atomic *atom, struct wlr_drm_backend *drm,
return; return;
error: error:
wlr_log(WLR_ERROR, "Failed to set plane %"PRIu32" properties", plane->id);
atom->failed = true; atom->failed = true;
} }