mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: don't blit in drm_fb_import
Instead blit in drm_plane_lock_surface. This makes drm_fb_import simpler and better fits its name.
This commit is contained in:
parent
4af85f4c19
commit
73ffab70b0
3 changed files with 22 additions and 24 deletions
|
|
@ -496,7 +496,7 @@ static bool drm_connector_commit_buffer(struct wlr_output *output) {
|
|||
if (!test_buffer(conn, output->pending.buffer)) {
|
||||
return false;
|
||||
}
|
||||
if (!drm_fb_import(&plane->pending_fb, drm, buffer, NULL,
|
||||
if (!drm_fb_import(&plane->pending_fb, drm, buffer,
|
||||
&crtc->primary->formats)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue