mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Split DRM rendering to its own file
This commit is contained in:
parent
d0708b1a3a
commit
096249a2a1
8 changed files with 202 additions and 165 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue