aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-06-19 21:22:42 +0200
committernyorain <nyorain@gmail.com>2017-06-19 21:22:42 +0200
commite65ca967f9f025748ce0710a09450ce05c5a36dd (patch)
tree79a78aadee4de5e16f9e4d67510463e628a95909 /backend/drm
parent10526de444b58ab4959d086538845303a06acfc1 (diff)
parent41b5294013cdf054e9dd49ef83ca6fee74f769a4 (diff)
Merge branch 'master' into wayland-backend
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c4
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;
+ }
}
}