diff options
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 00b45bce..befbfb94 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -296,6 +296,10 @@ static void wlr_drm_cursor_bo_update(struct wlr_output_state *output, wlr_log(L_ERROR, "Failed to create cursor bo"); return; } + if (!get_fb_for_bo(state->fd, output->cursor_bo[i])) { + wlr_log(L_ERROR, "Failed to create cursor fb"); + return; + } } } |