Split DRM rendering to its own file

This commit is contained in:
Scott Anderson 2017-09-30 20:52:58 +13:00
parent d0708b1a3a
commit 096249a2a1
8 changed files with 202 additions and 165 deletions

View file

@ -45,7 +45,7 @@ bool legacy_crtc_set_cursor(struct wlr_drm_backend *backend,
struct wlr_drm_plane *plane = crtc->cursor;
if (drmModeSetCursor(backend->fd, crtc->id, gbm_bo_get_handle(bo).u32,
plane->width, plane->height)) {
plane->surf.width, plane->surf.height)) {
wlr_log_errno(L_ERROR, "Failed to set hardware cursor");
return false;
}